summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-05-28 11:19:17 -0400
committerFabian Kozynski <kozynski@google.com>2019-05-28 11:33:19 -0400
commita4b4184f237ce7dab92d5c5db7367cc75e9e39e2 (patch)
tree5ead5eb4ccc8699f9ddc1bd713282e4c3b868da9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent738c98232cd8489becf100a148d619c11ca05fa7 (diff)
Clear AppOpsController when it stops listening
If AppOpsController stops listening, the lists were not cleared and it may not receive the update to remove an active AppOp. To make sure that we do not show outdated behavior once the controller is listening again, we clear the lists on setListening(false). When the controller goes back to listening, we will not have information of anything that happened while the controller was not listening. Test: atest AppOpsControllerTest Fixes: 133263799 Change-Id: I2827b03d39d3b16c9cf6593537f7c1e30d7946f5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions