Merge "Enables back gesture nav in screen pinning" into qt-r1-dev
am: f8108f81cc
Change-Id: Ibc491beb050da96ea742194c0f539d44c46f845b
This commit is contained in:
@@ -188,9 +188,8 @@ public class QuickStepContract {
|
||||
if ((sysuiStateFlags & SYSUI_STATE_BOUNCER_SHOWING) != 0) {
|
||||
return false;
|
||||
}
|
||||
// Disable when in screen pinning, immersive, or the notifications are interactive
|
||||
int disableFlags = SYSUI_STATE_SCREEN_PINNING
|
||||
| SYSUI_STATE_NAV_BAR_HIDDEN
|
||||
// Disable when in immersive, or the notifications are interactive
|
||||
int disableFlags = SYSUI_STATE_NAV_BAR_HIDDEN
|
||||
| SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED
|
||||
| SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING;
|
||||
return (sysuiStateFlags & disableFlags) != 0;
|
||||
|
||||
Reference in New Issue
Block a user