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

Commit c2c1fe68 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Adjust the index of the ArrayList during iteration"

parents 383b26b7 77bc9e4f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -795,6 +795,7 @@ class AlarmManagerService extends IAlarmManager.Stub {
                                +mBroadcastRefCount);
                        }
                        mTriggeredUids.remove(new Integer(uid));
                        i--;
                        mBlockedUids.add(new Integer(uid));
                        if(mBroadcastRefCount > 0){
                            mBroadcastRefCount--;
@@ -821,6 +822,7 @@ class AlarmManagerService extends IAlarmManager.Stub {
                        //no more matching uids break from the for loop
                        break;
                     }
                     i--;
                }
            }
        }