OSDN Git Service

Add more controls for launcher to control sysui
authorMatthew Ng <ngmatthew@google.com>
Wed, 17 Jan 2018 01:17:24 +0000 (17:17 -0800)
committerMatthew Ng <ngmatthew@google.com>
Wed, 14 Feb 2018 23:27:37 +0000 (15:27 -0800)
commit8f25fb96e2e3c064869dad00e7234013ac22c5d7
treed3a2b69eb476549c0874df52e2f35e77cb73075c
parent461ce2aac1c5ae0666653cb19624307171c6ce80
Add more controls for launcher to control sysui

Added a 4 flags to control the state of system ui:
1. Disable swipe up navigation (prevents motion events going through)
2. Disable quick scrub (& step)
3. Show overview button (hidden by default)
4. Hide back button (shown by default)

Test: manual
Bug: 67957962
Bug: 70180755
Change-Id: Ibc44af9bbdfa9611688fe12285a999d81b8287e9
packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl
packages/SystemUI/shared/src/com/android/systemui/shared/system/NavigationBarCompat.java
packages/SystemUI/src/com/android/systemui/OverviewProxyService.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarGestureHelper.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickScrubController.java