summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2016-04-30 15:29:06 -0700
committerWale Ogunwale <ogunwale@google.com>2016-05-02 13:28:33 -0700
commit06579d63a865ac87641c7fec56efde39bc2b8f59 (patch)
tree102232a601f54e37322d331508dd76632c301af6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta092aa436eb1eaa0c9606a0a395f3b52ad9cccef (diff)
Fixed some issues with resuming already resumed activity
- Don’t adjust focus stack when a stack is left empty because we moved the last task in it to the stack that will be the new top (focused). Focus can be temporarily adjusted to another stack which we don’t want. - Protect against trying to resume an already resumed activity in ASS.resumeFocusedStackTopActivityLocked. This will just cause a crash on the client side. - In ASS.moveTasksToFullscreenStackLocked defer resume activity call until we are done moving all the tasks to the new stack. - In ASS.moveTaskToStackUncheckedLocked check top running activity instead of just the top activity when we are trying to determine if the task as focus and resumed. It is possible the resumed activity in the task isn’t the top most because the top most is still initializing or going away. Bug: 28219871 Change-Id: I8c1113503f6f83d39983375a4f92155ddc04f20f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions