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

Commit c51cc97c authored by Matt Sziklay's avatar Matt Sziklay
Browse files

Do not set density on disconnect/reconnect.

The density changes do not appear to have any benefit on task sizing (since this is handled by applyFreeformDisplayChange on disconnect and stored taskBounds on reconnect), and actually are the root cause of a couple visual bugs.

Usage of wct.setDensityDpi sets CONFIG_DENSITY, which indicates the task will be responsible for density changes in future; meaning it stops adapting to display density.

Bug: 440239065
Bug: 438866291
Test: Manual; disconnect/reconnect, observe no size issues and overview appears correct.
Flag: com.android.window.flags.enable_display_disconnect_interaction
Flag: com.android.window.flags.enable_display_reconnect_interaction
Change-Id: Ib130ac0d19b9d86534409265bcb99a472a0a23a0
parent 8305743b
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