diff options
author | Philip P. Moltmann <moltmann@google.com> | 2020-01-31 09:33:20 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-01-31 09:33:20 -0800 |
commit | 494b4ab56ffc60bb75ea3966bd3bf6e633a5cf7c (patch) | |
tree | d167fbefca6ae349806c3e5a7db81140a7f2476f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | f0a9dd1e946bc3b337d9b09e3517ffad62a94ff3 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions