Merge pull request #916 from jtrax/bugfixes
Fixed issue 2408 ("Wake-up interval keeps changing to zero seconds")
This commit is contained in:
commit
fa9f1e54b3
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue