Merge pull request #916 from jtrax/bugfixes

Fixed issue 2408 ("Wake-up interval keeps changing to zero seconds")
This commit is contained in:
vshcherb 2014-10-10 13:32:26 +02:00
commit fa9f1e54b3

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) {