OSDN Git Service

Enforce policy for camera gesture in keyguard
authorTony Mak <tonymak@google.com>
Fri, 28 Jul 2017 10:53:56 +0000 (11:53 +0100)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Thu, 28 Sep 2017 17:12:40 +0000 (17:12 +0000)
commitaafeb72ef4ac267149661fe43d54825b0c580c8c
tree11079d8b7c2b30a1a0ef4d486b04b4a213c33562
parentc505f55d9243b1a961813685d6f02f5af2029b71
Enforce policy for camera gesture in keyguard

Test:
1. Set lock screen, set keyguard policy. Lock the device.
   Observe that double tap is not showing camera

2. Set lock screen, unset the keyguard policy. Lock the device.
   Observe that double tap is showing camera

3. Unset lock screen (swipe), set the keyguard policy. Lock the device.
   Observe that double tap is showing camera.

4. Unset lock screen (swipe), unset the keyguard policy. Lock the device.
   Observe that double tap is showing camera.

Bug: 63787722
Merged-In: I104688eaad719528376e2851f837d5956a6a1169

Change-Id: I42e6d9015682998176fe41971356bde22e1b37b2
(cherry picked from commit 5b064e03bd28c734a6f6022e2cbdff14410dc59a)
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java