da7e55591e1bdf28aee65614fb1528cb6163a0c4
Launcher registers a listener with WMShell to receive updates about desktop stashed state. The same listener can be used to receive updates about desktop visibility. Previously launcher was relying on sysui state flag for desktop visibility. But this flag is not checked when launcher starts. Only updates are handled. When launcher restarts and desktop is visible, launcher state was not correctly set. This listener is "sticky", meaning when a listener registers, it will receive a callback with the current value. This allows launcher to update its state on start. Flag: persist.wm.debug.desktop_mode_2 Bug: 280490493 Test: move an app to desktop, observe launcher icons are hidden Test: swipe home from a desktop app, observe launcher icons shown Test: while desktop app is open, change system theme to dark or light, observer launcher is restarted and icons remain hidden Change-Id: Id8be1989b32d9ccd2e0539b65529fed096342ac3
Merge "Fixing icon cache thrashing due to an unsupported icon" into udc-dev am:
6c8d57d8b5 am: d063440188
Merge "Removing memory object checks based on "dumpsys meminfo"" into udc-dev am:
c0f24b4e7e am: 243011384c
Description
No description provided
Languages
Java
57.2%
Kotlin
42.4%
AIDL
0.3%