diff options
author | 2022-09-15 12:46:00 -0700 | |
---|---|---|
committer | 2022-09-15 16:48:17 -0700 | |
commit | c3ea28b213f8e33b2731ae01be9052cdcf2bd460 (patch) | |
tree | 34cefb34a366d5bba64b84b31dd31e7342839c41 /libs/androidfw/ResourceTimer.cpp | |
parent | 8885371b88e2a294d81365e3a170972539f3736b (diff) |
Fix a couple issues with AppOpsUidStateTrackerImpl
1. When a process goes to NONEXSISTENT we should dispatch the uid state
change if necessary
2. Dispatch the new UID state on changes, not the last one (how did this
not break anything?!)
3. Fix issue in logic for detecting change between fg/bg uid states.
This probably didn't break anything since all appops that currently
care about foregroundness today also have capability that also
changes.
Test: CtsAppOpsTestCases, CtsAppOps2TestCases, AppOpUidStateTrackerTest
Bug: 241447638
Change-Id: Ib1b93148669ee04d7c16195540906b388550ee68
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions