From ba670bf88fb3ad2de948fc0a4e4a6e257a92f8ad Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Thu, 10 Dec 2015 18:48:57 -0800 Subject: [PATCH] Allow disabling the privacy guard notification - port from cm-12.1 (3/3) Change-Id: I3233517f9f6ff5a3e438682443b1e1b5907d4bd9 --- src/java/cyanogenmod/providers/CMSettings.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/java/cyanogenmod/providers/CMSettings.java b/src/java/cyanogenmod/providers/CMSettings.java index 20fa8ce..cf146ad 100644 --- a/src/java/cyanogenmod/providers/CMSettings.java +++ b/src/java/cyanogenmod/providers/CMSettings.java @@ -2488,6 +2488,12 @@ public final class CMSettings { */ public static final String PRIVACY_GUARD_DEFAULT = "privacy_guard_default"; + /** + * Whether a notification should be shown if privacy guard is enabled + * @hide + */ + public static final String PRIVACY_GUARD_NOTIFICATION = "privacy_guard_notification"; + /** * The global recents long press activity chosen by the user. * This setting is stored as a flattened component name as @@ -2646,6 +2652,7 @@ public final class CMSettings { CMSettings.Secure.LOCKSCREEN_TARGETS, CMSettings.Secure.RING_HOME_BUTTON_BEHAVIOR, CMSettings.Secure.PRIVACY_GUARD_DEFAULT, + CMSettings.Secure.PRIVACY_GUARD_NOTIFICATION, CMSettings.Secure.DEVELOPMENT_SHORTCUT, CMSettings.Secure.PERFORMANCE_PROFILE, CMSettings.Secure.APP_PERFORMANCE_PROFILES_ENABLED,