Skip to content
Commit a4b4184f authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

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
parent 738c9823
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