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

Commit 45520e52 authored by Matt Sziklay's avatar Matt Sziklay
Browse files

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
parent 2919442a
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