From 059b0fa060b8805c6c6199ccd9a4e13e64ad6995 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Wed, 11 May 2016 15:49:20 -0400 Subject: [PATCH] Allow DPMs to restrict Remote Input on Keyguard Change-Id: I84b90b4047129794f1397351f9c8624f0048ad41 Fixes: 26981262 --- res/layout/lockscreen_remote_input.xml | 16 +++- res/layout/redaction_interstitial.xml | 2 +- res/layout/setup_redaction_interstitial.xml | 2 +- .../android/settings/RestrictedCheckBox.java | 75 +++++++++++++++++++ .../settings/dashboard/DashboardAdapter.java | 3 + .../ConfigureNotificationSettings.java | 8 ++ .../NotificationLockscreenPreference.java | 33 +++++++- .../notification/RedactionInterstitial.java | 10 ++- 8 files changed, 138 insertions(+), 11 deletions(-) create mode 100644 src/com/android/settings/RestrictedCheckBox.java diff --git a/res/layout/lockscreen_remote_input.xml b/res/layout/lockscreen_remote_input.xml index af4bee07782..1c565a3f0c2 100644 --- a/res/layout/lockscreen_remote_input.xml +++ b/res/layout/lockscreen_remote_input.xml @@ -15,14 +15,15 @@ ~ limitations under the License --> - - \ No newline at end of file + + + \ No newline at end of file diff --git a/res/layout/redaction_interstitial.xml b/res/layout/redaction_interstitial.xml index f48b917ec2c..0c4273f5ab3 100644 --- a/res/layout/redaction_interstitial.xml +++ b/res/layout/redaction_interstitial.xml @@ -65,7 +65,7 @@ - -