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

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

am 0c289cd4: am 6b7d6b9b: Canceling PendingIntent

* commit '0c289cd4':
  Canceling PendingIntent
parents 12e8a9fe 0c289cd4
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");
            }