Skip to content
Commit 23ffbdb7 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Replace mPendingRemove with hierarchy deferred removal

To eliminate the global list and simplify the path of surface placement.

This reverts commit 4ddb1d86.

Reason for revert: Fix the original CL (commit bb2efa02) by
checking "!isSelfAnimating(0 /* flags */, EXIT_ANIMATING_TYPES)"
in WindowState#handleCompleteDeferredRemoval.

Bug: 163976519
Test: WindowContainerTests#testHandleCompleteDeferredRemoval
Test: Long press power key and dismiss the power menu window.
      The window should have fade out animation.

Change-Id: I9bd75a82952ef129f528a0dba8fe740eddf60c49
parent c271def0
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