Skip to content
Commit 494b4ab5 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Correctly update in-progress events when switching uidStates

A in-progress event might have been started multiple times. So to remove
the event and then re-add it we have to temporarily reduce the number
of unfinished started (== the nesting count) to 1 so that finish()
actually removes the event.

Test: atest android.app.appops.cts.AppOpEventCollectionTest#switchUidStateWhileOpsAreRunning
Fixes: 148527247
Change-Id: I40afd83946be202be048c69611f62974a762bdc6
parent f0a9dd1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment