small fixes
This commit is contained in:
parent
753c963032
commit
7420b71048
1 changed files with 0 additions and 2 deletions
|
@ -656,7 +656,6 @@ public class LiveUpdatesFragment extends BaseOsmAndDialogFragment implements OnL
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onUpdateLocalIndex(String fileName, boolean newValue, final Runnable callback) {
|
public boolean onUpdateLocalIndex(String fileName, boolean newValue, final Runnable callback) {
|
||||||
|
|
||||||
int frequencyId = preferenceUpdateFrequency(fileName, settings).get();
|
int frequencyId = preferenceUpdateFrequency(fileName, settings).get();
|
||||||
int timeOfDateToUpdateId = preferenceTimeOfDayToUpdate(fileName, settings).get();
|
int timeOfDateToUpdateId = preferenceTimeOfDayToUpdate(fileName, settings).get();
|
||||||
final AlarmManager alarmManager = (AlarmManager) app.getSystemService(Context.ALARM_SERVICE);
|
final AlarmManager alarmManager = (AlarmManager) app.getSystemService(Context.ALARM_SERVICE);
|
||||||
|
@ -673,7 +672,6 @@ public class LiveUpdatesFragment extends BaseOsmAndDialogFragment implements OnL
|
||||||
alarmManager.cancel(alarmIntent);
|
alarmManager.cancel(alarmIntent);
|
||||||
runSort();
|
runSort();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue