diff options
| author | 2021-12-16 18:58:15 +0100 | |
|---|---|---|
| committer | 2022-01-06 11:53:58 +0000 | |
| commit | ab7ad3e890ab6b7c003ed0e589380639774581b7 (patch) | |
| tree | ba0d49947f5503186836a881232d598edd1a3f80 /libs/androidfw/StringPool.cpp | |
| parent | 72049508c5ea65357e890724d9e29a469ca3b198 (diff) | |
Preserve shade state on fold/unfold.
Prevents the shade from closing when the device folds/unfolds.
When the device folds/unfolds there is a screen off event, which
causes the shade to be closed.
The solution here is to listen for device state changes, and when
we detect that a fold change is happening, we indicate that the
shade should stay open.
Test: Unit tests + manually on device
Bug: 197187018
Fixes: 197187018
Change-Id: Ief5e774161a22cf6fa63e9fb69a06ad6448fcf7a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions