summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2020-02-13 17:29:57 -0800
committerHui Yu <huiyu@google.com>2020-02-13 17:29:57 -0800
commitc7956f0d9100fa7def28cc7a279bc84813077a89 (patch)
tree7008de6a80e9798570853a0457b863f8b476289b /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc0324f3a1f00109e96f615a0216252778c636a93 (diff)
Change isProcStateBackground() cutoff to PROCESS_STATE_BOUND_FOREGROUND_SERVICE
isProcStateBackground() mostly is used to determinte when to call registered IUidObserver's onUidActive() and onUidIdle() callbacks. CameraServer and AudioServer are the two most notable IUidObserver. Since AppOps uses PROCESS_STATE_BOUND_FOREGROUND_SERVICE as foreground state cutoff. It is better we consolidate other part of code use the same proc state as foreground cutoff. Bug: 149500958 Test: NA. Change-Id: I8206ef4c8cad210547204117c2fe8eb0550d459f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions