Hide off service (location) toast
This commit is contained in:
parent
4a63606893
commit
ddaaaa6d43
1 changed files with 0 additions and 6 deletions
|
@ -92,12 +92,6 @@ public class NavigationService extends Service {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLocationAvailability(boolean locationAvailable) {
|
public void onLocationAvailability(boolean locationAvailable) {
|
||||||
if (!locationAvailable) {
|
|
||||||
OsmandApplication app = (OsmandApplication) getApplication();
|
|
||||||
if (app != null) {
|
|
||||||
app.showToastMessage(getString(R.string.off_router_service_no_gps_available));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (SecurityException e) {
|
} catch (SecurityException e) {
|
||||||
|
|
Loading…
Reference in a new issue