Skip to content
Commit 793442c5 authored by Riddle Hsu's avatar Riddle Hsu Committed by Wale Ogunwale
Browse files

Fix index out of bounds of display removal

When removing a display, if it contains an activity in the active
transition, the display will be marked as removed and the activity
will be marked as exiting. Then when the animation is done, the
removal of the activity will continue while checking the deferred
removal from display. Once the activity is removed, because it is
the last activity and the display was marked as removed, all of its
parents will also be removed.

Bug: 143873959
Test: atest ActivityViewTest#testStartActivity
Change-Id: Iebee5b24fcb6b525c325d5aee2442b992ac6a35f
parent 3ae41e41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment