diff options
author | wilsonshih <wilsonshih@google.com> | 2019-03-12 17:21:35 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2019-03-27 12:01:57 +0800 |
commit | 8824a8a4d4fc9ce715c847aa7b13e240a778b786 (patch) | |
tree | a20c2ad852c2b5e26a9832c26c3b3dc99a6cda63 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a50d69cccce55a9de0bdb8e10400e760b3fd1edc (diff) |
Fix black screen when finish FallbackHome
The reason for the short black screen is that FallbackHome will be destroyed
directly when the it finish, and there will be no home activity until the
NexusLauncher resumed.
In order to fix this problem, we can check if the display also contains the
home stack, because in this case there must have a home activity on that display.
- Also add a unit test to verify the home stack shouldn't be destroy
immediately.
Fix: 119392020
Test: atest ActivityStackTests ActivityDisplayTests
Change-Id: Ic0035f784a6b29c212ebc33d8addfcb3f3bf38c6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions