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

Commit 0c289cd4 authored by Daria Evdokimova's avatar Daria Evdokimova Committed by Android Git Automerger
Browse files

am 6b7d6b9b: Canceling PendingIntent

* commit '6b7d6b9b':
  Canceling PendingIntent
parents 81c18d56 6b7d6b9b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -241,7 +241,10 @@ public class TimerReceiver extends BroadcastReceiver {
                Log.d(TAG, "Setting times up to " + nextTimesup);
            }
        } else {
            // if no timer is found Pending Intents should be canceled
            // to keep the internal state consistent with the UI
            mngr.cancel(p);
            p.cancel();
            if (Timers.LOGGING) {
                Log.v(TAG, "no next times up");
            }