diff options
| author | 2025-02-06 23:36:50 +0000 | |
|---|---|---|
| committer | 2025-02-26 21:50:26 +0000 | |
| commit | a3d6fdb9f517d2e3bd62e86349cd541cca70fcf5 (patch) | |
| tree | f4570cb321771afbecfd8e4801a6a5d723bc25b1 /libs/androidfw/AssetManager2.cpp | |
| parent | ea326c63e8f86f00625b177f97d2106c4adb3131 (diff) | |
Allow device rotation on glanceable hub
Allow screen rotation for mobile hub where keyguard rotation is not
allowed by default. In NotificationShadeWindow, update layout params
orientation to USER if one of the conditions met: 1) idle on hub
2)transitioning to hub 3)transitioning from hub to dream.
Fix bouncer not staying open unless user scrolls up and then right
as showing bouncer will rotate the screen to portrait.
In BouncerSwipeTouchHandler#onScroll listener, once user scrolls up and
past a small screen percentage, show bouncer scrimmed without tracking
user dragging. This ensures bouncer won't hide after rotation.
Bug: b/392708288
Test: atest BouncerSwipeTouchHandlerTest
Test: manually on foldable
Flag: com.android.systemui.glanceable_hub_v2
Change-Id: Ifb3160afc07c94c56371f20fa896b730ed716418
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions