Loading src/com/android/deskclock/timer/TimerFragment.java +4 −1 Original line number Diff line number Diff line Loading @@ -148,8 +148,11 @@ public class TimerFragment extends DeskClockFragment public void deleteTimer(int id) { for (int i = 0; i < mTimers.size(); i++) { TimerObj t = mTimers.get(i); if (t.mTimerId == id) { if(t.mView != null) { ((TimerListItem)t.mView).stop(); } t.deleteFromSharedPref(mmPrefs); mTimers.remove(i); notifyDataSetChanged(); Loading Loading
src/com/android/deskclock/timer/TimerFragment.java +4 −1 Original line number Diff line number Diff line Loading @@ -148,8 +148,11 @@ public class TimerFragment extends DeskClockFragment public void deleteTimer(int id) { for (int i = 0; i < mTimers.size(); i++) { TimerObj t = mTimers.get(i); if (t.mTimerId == id) { if(t.mView != null) { ((TimerListItem)t.mView).stop(); } t.deleteFromSharedPref(mmPrefs); mTimers.remove(i); notifyDataSetChanged(); Loading