Merge "Get fresh InProgress array in AttributedAppOp when adding/removing" into sc-dev
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user