Remove preserved display on restore start.
Rather than removing the preserved display once restore is finished, remove it before calling restoreDisplay and use the removed display to perform the transition. To help facilitate this, moves desktop's KeyguardChangeListener from DesktopTasksController to DesktopDisplayEventHandler. This is to ensure multiple restoreDisplay calls do not occur for the same display, as this would cause issues with incorrect desk activation and tasks randomly unminimizing. Removes displaysMidRestoration tracking as it's no longer needed. Bug: 440280450 Bug: 440248564 Bug: 440399938 Test: Manual, perform repeated reconnects on displays with lots of tasks Flag: com.android.window.flags.enable_display_reconnect_interaction Change-Id: I0836759f896eaef9aae40597a539b9ea96726136
Loading
Please register or sign in to comment