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

Commit e18996c5 authored by Nate Myren's avatar Nate Myren Committed by Automerger Merge Worker
Browse files

Merge "Get fresh InProgress array in AttributedAppOp when adding/removing"...

Merge "Get fresh InProgress array in AttributedAppOp when adding/removing" into sc-v2-dev am: abd991df

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16380117

Change-Id: I412180b7b17951fdb860b1df0e7b1617b7fcb2a3
parents ef3cafc9 abd991df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1314,6 +1314,7 @@ public class AppOpsService extends IAppOpsService.Stub {
                                    event.getAttributionFlags(), event.getAttributionChainId());
                        }

                        events = isRunning ? mInProgressEvents : mPausedInProgressEvents;
                        InProgressStartOpEvent newEvent = events.get(binders.get(i));
                        if (newEvent != null) {
                            newEvent.numUnfinishedStarts += numPreviousUnfinishedStarts - 1;