diff options
author | Winson Chung <winsonc@google.com> | 2021-06-15 22:49:44 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2021-06-16 20:58:03 -0700 |
commit | 523ab2ab6fa1808be04c14559afa5baaa62793c0 (patch) | |
tree | df45733e4b9b5d8f7df9634bbd695903ff097c6f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5d552869af8acad21ee095413f6b1d6ccf8fa1ba (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions