Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08112cfd authored by Justin Klaassen's avatar Justin Klaassen Committed by android-build-merger
Browse files

Write STATE_DELETED prior to deleting timer instances

am: 6713ec0c

* commit '6713ec0c':
  Write STATE_DELETED prior to deleting timer instances
parents aaa56bd1 6713ec0c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -296,6 +296,7 @@ public class TimerReceiver extends BroadcastReceiver {

        if (t.mDeleteAfterUse) {
            t.setState(TimerObj.STATE_DELETED);
            t.writeToSharedPref(prefs);
            t.deleteFromSharedPref(prefs);
            Events.sendTimerEvent(R.string.action_delete, R.string.label_notification);
        } else {