Loading src/com/android/deskclock/Alarms.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -420,7 +420,7 @@ public class Alarms { SharedPreferences.Editor ed = prefs.edit(); SharedPreferences.Editor ed = prefs.edit(); ed.putInt(PREF_SNOOZE_ID, id); ed.putInt(PREF_SNOOZE_ID, id); ed.putLong(PREF_SNOOZE_TIME, time); ed.putLong(PREF_SNOOZE_TIME, time); ed.commit(); ed.apply(); } } // Set the next alert after updating the snooze. // Set the next alert after updating the snooze. setNextAlert(context); setNextAlert(context); Loading Loading @@ -457,7 +457,7 @@ public class Alarms { final SharedPreferences.Editor ed = prefs.edit(); final SharedPreferences.Editor ed = prefs.edit(); ed.remove(PREF_SNOOZE_ID); ed.remove(PREF_SNOOZE_ID); ed.remove(PREF_SNOOZE_TIME); ed.remove(PREF_SNOOZE_TIME); ed.commit(); ed.apply(); }; }; /** /** Loading Loading
src/com/android/deskclock/Alarms.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -420,7 +420,7 @@ public class Alarms { SharedPreferences.Editor ed = prefs.edit(); SharedPreferences.Editor ed = prefs.edit(); ed.putInt(PREF_SNOOZE_ID, id); ed.putInt(PREF_SNOOZE_ID, id); ed.putLong(PREF_SNOOZE_TIME, time); ed.putLong(PREF_SNOOZE_TIME, time); ed.commit(); ed.apply(); } } // Set the next alert after updating the snooze. // Set the next alert after updating the snooze. setNextAlert(context); setNextAlert(context); Loading Loading @@ -457,7 +457,7 @@ public class Alarms { final SharedPreferences.Editor ed = prefs.edit(); final SharedPreferences.Editor ed = prefs.edit(); ed.remove(PREF_SNOOZE_ID); ed.remove(PREF_SNOOZE_ID); ed.remove(PREF_SNOOZE_TIME); ed.remove(PREF_SNOOZE_TIME); ed.commit(); ed.apply(); }; }; /** /** Loading