Also factor the floating rotation button into the active touch region
- The floating rotation button sits in the gesture region and touches
over the button should not start the recents animation. Add a
visibility callback to the floating rotation button in addition to
the existing contextual button listener and update when needed.
Bug: 162775448
Bug: 161921293
Test: Repeatedly rotate with floating button
Test: atest SystemUITests:NavigationBarRotationContextTest
Change-Id: I798370b41041e4f02bb82f5aeb20b9ccc1d2a4e8
Merged-In: I798370b41041e4f02bb82f5aeb20b9ccc1d2a4e8
(cherry picked from commit 3e64e959ea6cf13c27b8ba3b583d25f0f9bb9ea8)
7 files changed