summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2013-10-08 15:41:18 -0700
committerAdam Lesinski <adamlesinski@google.com>2013-10-08 15:41:18 -0700
commitaa52437745037b0526d19832191512b63b1ac346 (patch)
treef96c2ec8bf22896810d4e7ab67c72329d9b040a7 /tools/aapt2/java/JavaClassGenerator.cpp
parentdcd05b440d81ededd567a417a6e10a02ccdfa07b (diff)
Allow killed task to remove itself
When killing a task from the recents UI, the activities in the task would be scheduled for destruction, and the task would be forcefully removed from the ActivityStack, destroying the ActivityStack in the process if this was the last task. Since the ActivityStack was removed, any activities calling back to report their onDestroy was called (or any timeouts that trigger if activities fail to do this) would be dropped and certain cleanup routines would not be called. Tasks and their ActivityStacks are removed automatically when the activities within them are removed, so this manual removal was preventing the cleanup routines from running. bug:10920157 Change-Id: Ied9d4f8fea761a373a9a80a0dfe810590ab411d8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions