Fix boolean getter
This commit is contained in:
parent
fc3a6b9be4
commit
6af23994b0
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class NavigateParams implements Parcelable {
|
||||||
return profile;
|
return profile;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getForce() {
|
public boolean isForce() {
|
||||||
return force;
|
return force;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue