Fix boolean getter

This commit is contained in:
PavelRatushny 2017-09-01 14:03:16 +03:00
parent fc3a6b9be4
commit 6af23994b0
2 changed files with 2 additions and 2 deletions

View file

@ -386,7 +386,7 @@ public class OsmandAidlService extends Service {
@Override @Override
public boolean navigate(NavigateParams params) throws RemoteException { public boolean navigate(NavigateParams params) throws RemoteException {
try { try {
return params != null && getApi().navigate(params.getStartName(), params.getStartLat(), params.getStartLon(), params.getDestName(), params.getDestLat(), params.getDestLon(), params.getProfile(), params.getForce()); return params != null && getApi().navigate(params.getStartName(), params.getStartLat(), params.getStartLon(), params.getDestName(), params.getDestLat(), params.getDestLon(), params.getProfile(), params.isForce());
} catch (Exception e) { } catch (Exception e) {
return false; return false;
} }

View file

@ -69,7 +69,7 @@ public class NavigateParams implements Parcelable {
return profile; return profile;
} }
public boolean getForce() { public boolean isForce() {
return force; return force;
} }