summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2017-03-24 09:35:42 -0700
committerWinson Chung <winsonc@google.com>2017-03-24 12:27:04 -0700
commitabb433b30463c741c5b347acfd4dc6fcd430e08b (patch)
tree4cf33c8c3a2090aca79f3d827f2ae514e7d7f8f7 /tools/aapt2/java/JavaClassGenerator.cpp
parentadb9fcde8514d28c9ea5e5ac988d477a77b895c8 (diff)
Remove task activities from LRU list when task is reparented.
- When a task is reparented, the activities are not removed from the previous stack's LRU list. Afterwards, when the activity is destroyed, the previous stack's LRU list will contain an activity that has no task. Instead, we should remove all of the task's activities from the LRU list when it is removed, and update the LRU list of the new stack when the top activity is next resumed. - Also fixing issue with stack header in dumpsys not printing if there are no activities (but other states were still being printed for that stack) Bug: 36253246 Test: adb shell dumpsys activity activities Change-Id: Ia14f170dceff9eadc48d1ac4aac2f16c714adde2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions