Fix hub touch interactions with bouncer and shade
The hub's gesture exclusion area was applying even when the bouncer or
shade were open, which prevented back gestures from working on those
surfaces.
The hub's definition of when the bouncer is open also updated only at
the very end of the bouncer open animation, which takes a bit of time
even on a fling. This meant that if you opened the bouncer then quickly
tapped or swiped, you could trigger a widget or even close the hub
underneath the bouncer.
Bug: 333734282
Test: atest CommunalViewModelTest
Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD
Change-Id: I370fdb947dcd97058a09abdaa3ab0cbe012ee18b
2 files changed