diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-10-04 19:05:36 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-10-18 14:04:28 +0000 |
commit | cf92023a4eb92a614d6c1a654f3c9784a57fd687 (patch) | |
tree | 99442d259ee23f4fbc8d793182bf425141adee6b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 111dfdfdae8b38797cae52badfbdd9efdd693856 (diff) |
Make the adjustment of stack consistent for finishing activity
Originally when finishing an activity which is the last one in
its stack, the next stack will be moved to front only when it
is on top display.
Now the top stack on non-top display will also be moved to front,
except changing the order of display and updating focused app.
Then the visibility can be updated during resuming next. So the
ensuring visibility on the finish path is no longer needed, that
also reduces some cases unable to set correct visibility for
finishing activity.
Bug: 142020090
Test: atest ActivityRecordTests# \
testCompleteFinishing_keepStateOfNextInvisible
atest ActivityLifecycleTopResumedStateTests# \
testFinishOnDifferentDisplay_nonFocused
atest ActivityLifecycleTests# \
testTrampolineAnotherExistingProcessNewTask
Change-Id: I1aed47e8d21ea8b3b246b5db226c3dc68b475d0b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions