summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2019-03-12 17:21:35 +0800
committerwilsonshih <wilsonshih@google.com>2019-03-27 12:01:57 +0800
commit8824a8a4d4fc9ce715c847aa7b13e240a778b786 (patch)
treea20c2ad852c2b5e26a9832c26c3b3dc99a6cda63 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta50d69cccce55a9de0bdb8e10400e760b3fd1edc (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions