mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
f00adbeb68abdb53bb087c4c014b59e4ea1dd74d
The change around configuration and display cutout to support flexible display setup is making the received display info is not calculated as the hard-coded way in taskbar. It will cause the taskbar recreated when the device reaches a given rotation for the first time. The recreation is not necessary as it is only a hint of taskbar's estimation doesn't match the result. Block the recreation in that case to avoid user visible animation issue. Bug: 302387383 Test: Rotate a device with movable cutout and no recreation happens Flag: ACONFIG com.android.window.flags.allows_screen_size_decoupled_from_status_bar_and_cutout TRUNKFOOD Flag: ACONFIG com.android.window.flags.movable_cutout_configuration DEVELOPMENT Change-Id: I1aa6add57ec49a49cc7473bfaada6d9212c1fc4b
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%