summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2020-12-11 08:07:35 +0800
committerLouis Chang <louischang@google.com>2020-12-11 08:08:13 +0800
commit3befe55f1a29654d63676d654907399a35a3079c (patch)
treec1a99b90e300d35d75345b6c35f69aee6e164681 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent684aa6edc020e3ad41434b8d681b12e0d3c556e4 (diff)
Make all activities on visible and focusable leaf tasks be resumed
Currently, only the top-most activity of a root task can be resumed, no matter how many descendant tasks or their windowing modes are. Resuming the top activities of all visible and focusable leaf tasks to be more flexible and can support features like app-pairs. Therefore, Task#mResumedActivity is now set at leaf task vs. root task. And Task#getResumedActivity() now returns the resumed activity of the top-most leaf task. Same as Task#mPausingActivity. Bug: 172885410 Test: presubmit Change-Id: Id0a73b39afd03afb2b9572752e98adce8de1619b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions