OSDN Git Service

Check that sysui states before allowing back gesture
authorWinson Chung <winsonc@google.com>
Wed, 17 Apr 2019 23:54:23 +0000 (16:54 -0700)
committerWinson Chung <winsonc@google.com>
Thu, 18 Apr 2019 21:15:08 +0000 (14:15 -0700)
commite2a686dca3667f12aaef3f697aceca308ce8d79e
tree9cd771e858edeb97990838a605ba3630ef2260f8
parentb9cd46e1636b59e68e6d31ee59f7e89367ac3a9c
Check that sysui states before allowing back gesture

- Ensure not in immersive mode, and also that the notification panel is
  not expanded

Bug: 130340004
Bug: 130417141
Test: Manual, ensure back doesn't work when notification panel is down or
      app is in immersive mode

Change-Id: I29f5cd80cc89b28802ca8b2c9e2956ae5b3b1151
packages/SystemUI/shared/src/com/android/systemui/shared/system/QuickStepContract.java
packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/EdgeBackGestureHandler.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java