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
Loading
Please register or sign in to comment