OSDN Git Service

Enforce policy for camera gesture in keyguard
authorEsteban Talavera <etalavera@google.com>
Fri, 14 Jul 2017 15:14:07 +0000 (16:14 +0100)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Wed, 23 Aug 2017 19:18:26 +0000 (19:18 +0000)
commitb5d2f63815d12c2f98421056cb497c253c9e88ae
tree35bd05cc82d81449802ef71266384a4a3dd294d2
parent9ec843487aff6bd8c1b6dc464b8ace5e3ff8a857
Enforce policy for camera gesture in keyguard

If the admin has disabled the camera for secure
keyguards, in addition to removing the bottom-right hand
corner camera button do not allow the camera to be opened
via the camera gesture either.

Bug: 63334090
Merged-In: I104688eaad719528376e2851f837d5956a6a1169
Test: Manually tested launching the camera on secure and non-secure keyguard and non-keyguard, both via camera icon and gesture
Change-Id: I104688eaad719528376e2851f837d5956a6a1169
(cherry picked from commit 98ec92375d75630c10595bfcbae184ad7350e2d3)
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java