From 825f69a5e6204c2cb8c6cfc58ad00336770e3027 Mon Sep 17 00:00:00 2001 From: songchenxi Date: Thu, 19 Jan 2017 14:18:41 -0800 Subject: [PATCH] Add a hidden flag to control Settings UI This flag is to enable link to permission in location settings UI Test: A new string value added Bug: 34400189 Change-Id: Ie2adeba9634a0e2426b28683da09ad1765b25a3d --- core/java/android/provider/Settings.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index d41b3c5236a27..48f73dfc11354 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -9561,6 +9561,14 @@ public final class Settings { */ public static final String CONTACTS_DATABASE_WAL_ENABLED = "contacts_database_wal_enabled"; + /** + * Flag to enable the link to location permissions in location setting. Set to 0 to disable. + * + * @hide + */ + public static final String LOCATION_SETTINGS_LINK_TO_PERMISSIONS_ENABLED = + "location_settings_link_to_permissions_enabled"; + /** * Settings to backup. This is here so that it's in the same place as the settings * keys and easy to update.