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

Commit 01e1fcac authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Fix crash in the Alarm Manager service

am: db9ae421

Change-Id: I7be5b2b38f316c4e3d4b8a3961afc279bba6b1ba
parents 6df890b3 db9ae421
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2964,7 +2964,7 @@ class AlarmManagerService extends SystemService {

        private InFlight removeLocked(PendingIntent pi, Intent intent) {
            for (int i = 0; i < mInFlight.size(); i++) {
                if (mInFlight.get(i).mPendingIntent.equals(pi)) {
                if (mInFlight.get(i).mPendingIntent == pi) {
                    return mInFlight.remove(i);
                }
            }