diff options
author | Riddle Hsu <riddlehsu@google.com> | 2018-10-16 23:33:23 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2018-10-22 21:15:41 +0800 |
commit | e10cea50b3c07c7adf7902cb88f5dd56d9d5e921 (patch) | |
tree | 98f787429f732cc21543fdb03a0a7e66e8b0af6a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ec397364d6192e62e910bed13926841113b32282 (diff) |
Fix freeze wrong display when finishing activity
- The next activity after finishing should only consider in the
same display.
- Make topRunningActivity goes through focusable stacks in a display
instead of only uses top focused. Because it was used for legacy
hierarchy that application tasks are put in a single stack.
- Update display configuration when a display becomes not containing
running activity after finishing current activity to restore the
original orientation.
Bug: 117861386
Test: atest ActivityStackTests#testFinishCurrentActivity
Test: atest ActivityDisplayTests#testTopRunningActivity
Change-Id: I15cafff01cf528681de64cd1b7da0547654e1103
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions