summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2020-01-31 09:33:20 -0800
committerPhilip P. Moltmann <moltmann@google.com>2020-01-31 09:33:20 -0800
commit494b4ab56ffc60bb75ea3966bd3bf6e633a5cf7c (patch)
treed167fbefca6ae349806c3e5a7db81140a7f2476f /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf0a9dd1e946bc3b337d9b09e3517ffad62a94ff3 (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions