Add cached state to prevent blocking calls from SysUI->Shell
- WindowManagerGlobal has a shared lock which means that code in the shell main thread can deadlock with code running on the sysui main thread in rare cases (ie. display changes when folding/unfolding). Ideally there are no blocking calls between SysUI/Shell so this change caches state changes from the Bubbles side for querying from SysUI. In particular, the expanded states and the suppressed states. Bug: 190453559 Test: atest SystemUITests Change-Id: I4e60b168a84618033604e7d097599b048a5886a1
Loading
Please register or sign in to comment