summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author András Kurucz <kurucz@google.com> 2025-02-06 14:55:14 +0000
committer András Kurucz <kurucz@google.com> 2025-02-06 15:14:01 +0000
commit5f8167ce09d3c4a5d6a93c3b5fe6b7547b1340c7 (patch)
treefc9ee54f0fecb11baf257a532a2893119fadaaaf /libs/androidfw/Util.cpp
parentf4f8f15fa15ce7c1fcc07f72eef5f16bd242c6e5 (diff)
[flexiglass] Keep the snoozable HUN placeholder scrollable
Previously we were only adding the scrollable modifier to the HeadsUpNotificationSpace placeholder when there was a pinned HUN displayed, or being animated away. When we are dragging down on a HUN to open the shade, we unpin it, to let it reach its final form in the shade. This unpinning removed the scrollable modifier, which broke dispatching the touch events from NestedDraggable to the DraggableHandler. This was leaving the HUN and the shade in a broken state. Keeping the snoozable placeholder scrollable allows us to keep dispatching the motion events continously, and open the shade. Fixes: 394800311 Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.notification.ExpandShadeFromHun#testExpandShadeFromHun Flag: com.android.systemui.scene_container Change-Id: I891adfad8da40e21852e125e59024c4302fda026
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions