summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJamie Garside <jgarside@google.com>2021-10-15 15:59:09 +0100
committerJamie Garside <jgarside@google.com>2021-10-15 16:21:14 +0100
commit65e6cbe685420f81be667ec3807cb2720db23807 (patch)
treedff785b555c77fac5955672f593cee8fc6dba771 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc9048fa30224988bf94794c334a5644908801a4b (diff)
Don't pass QS expand state to NPVC in split shade mode.
NotificationPanelViewController responds to the QS expansion by moving the notifications around on screen (seemingly, to scroll back to the top when the QS is coming on screen). We don't want this in split shade though, as it will cause the notifications on one pane to move, while the QS is expanding in the other pane (and when the QS is opened/closed with the arrow, the notifications to snap to the top). As an aside, I'm not sure if the "scroll notifications to top" codepath is ever actually used; the notification scroller has to be at the top to open the QS on SC+. Still, I've done it this way as I'm assuming there's some behaviour that I've not come across that allows the user to open the QS while the notifications panel is visible. Note that on a configuration change, setQsExpansionFraction is called again, so this doesn't appear to do anything strange when the device is rotated. Bug: 191666641 Test: Manually verified. Change-Id: I709d2c58792b733cc63dea807c5c39a594662534
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions