summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrei Stingaceanu <stg@google.com>2016-01-13 12:10:21 +0000
committerAndrei Stingaceanu <stg@google.com>2016-01-26 16:01:30 +0000
commit4ccec532d704725cd6115c220f56330edf101674 (patch)
tree717b3e9d5afcde110c52d86e8601f60209f44cd4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentde32f98b5b403f212c07db4c38ad3f22195bffbd (diff)
Hide suspended apps from recents
* Introduce a new boolean realActivitySuspended in TaskRecord to keep track of the suspended state (this also makes sure the information is persisted across reboots). * Introduce a new method onPackagesSuspendedChanged in RecentTasks which flips the realActivitySuspended for each TaskRecord for the desired user and packages sent * Register a new broadcast receiver (for SUSPEND/UNSUSPEND) in ActivityManager#finishBooting which calls RecentTasks#markPackagesSuspendedStateForUser * In ActivityManagerService#getRecentTasks filter out Taskrecords for suspended apps by checking realActivitySuspended Bug: 22776761 Change-Id: I52e3593ccb2dae223d1ea11d017a6b1626646639
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions