Fixed issue 2408 ("Wake-up interval keeps changing to zero seconds")

This commit is contained in:
Taranenko Roman 2014-10-10 13:51:55 +03:00
parent 84dfc6a298
commit 118114d8ad

View file

@ -105,7 +105,7 @@ public class MapInfoWidgetsFactory {
dlg.setTitle(app.getString(R.string.sleep_mode_stop_dialog));
//Show currently active wake-up interval
int soi = app.getSettings().SERVICE_OFF_INTERVAL.get();
int soi = app.getNavigationService().getServiceOffInterval();
if (soi == 0) {
dlg.setMessage(app.getString(R.string.gps_wake_up_timer) + ": " + app.getString(R.string.int_continuosly));
} else if (soi <= 90000) {