summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-01-16 17:17:58 +0100
committerJorim Jaggi <jjaggi@google.com>2017-01-23 14:05:35 +0100
commit7361babf94baa985eaa8bd2e94fcb16f00670998 (patch)
treecdb47c1cb4b029173542405aea892519a50ce1f2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcc9224c8d4f74987d08cef3c70f88873ae06656d (diff)
Implement restoring & correct caching of snapshots
Introduce a retrieval cache that holds the last accessed snapshots, in addition to the cache of the activities that are the top most activtiy of a task that have a running process. Change everything to use an integer id instead of a Task object to work around the issue that some tasks SystemUI might access might not exist in WM yet (not yet restored from recents). Don't put anything in the cache on the SystemUI side, but still retrieve the thumbnails after a task changed event to make sure the cache on the system_server side is fresh. Test: runtest frameworks-services -c com.android.server.wm.TaskSnapshotCacheTest Bug: 31339431 Change-Id: I8e56365459a677735320adaa169da8fb033ceab0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions