Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6ad64eb authored by Charles Chen's avatar Charles Chen
Browse files

Reparent to the default display with display removal

Add displayRemoveBehavior to enable the WindowContext owned
WindowToken to reparent to the default display when
the associated display is going to removed.

It is to fix the race when relying on DisplayListener to
reparent the token.

Test: atest WindowContextTest
Test: atest WindowManagerServiceTest WindowContextistenerControllerTest
Test: atest InputMethodDialogWindowContextTest
Bug: 404532651
Flag: com.android.window.flags.reparent_to_default_with_display_removal
Change-Id: Ia97726407b8274c02c32dc68bba9ba85cda84608
parent ac53603b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment