OSDN Git Service

Fixes set lock task (and screen pinning) state with/out quickstep
authorMatthew Ng <ngmatthew@google.com>
Tue, 27 Feb 2018 21:47:38 +0000 (13:47 -0800)
committerMatthew Ng <ngmatthew@google.com>
Wed, 28 Feb 2018 21:47:06 +0000 (13:47 -0800)
commit6ff33b7f5364d83fc2034af03f53efdb28d36b6e
tree717fb54342d2feb426fe87babbae8e6dc4e11912
parent58b0948b1ffb92217eb984aa41be545d61259e33
Fixes set lock task (and screen pinning) state with/out quickstep

When quickstep is enabled, ensures that the home button is gone when
locked to task without home access and prevents quickstep when overview
access is disabled. When quickstep is disabled, fixes recents visibility
according to overview access. Also prevent screen pinning after locking
task to app.

Bug: 72799389
Fixes: 73886663
Test: manual - use quickstep when locked to task
Change-Id: Iacfa0b12374217511602cee6c2ca5ceafd6e2964
packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java
packages/SystemUI/src/com/android/systemui/recents/Recents.java
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.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