summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/src/com/android/providers
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2014-01-07 14:46:22 -0800
committerMike Lockwood <lockwood@google.com>2014-01-08 10:48:03 -0800
commitc02c4a7c5b393c5527de17faca759ff00be61ce5 (patch)
tree0625907bfa1fa342bd7c27e592aa548ba6993bf1 /packages/SettingsProvider/src/com/android/providers
parentc975437ef3338ba38b76b1a07594ccfd6e089709 (diff)
downloadframeworks_base-c02c4a7c5b393c5527de17faca759ff00be61ce5.zip
frameworks_base-c02c4a7c5b393c5527de17faca759ff00be61ce5.tar.gz
frameworks_base-c02c4a7c5b393c5527de17faca759ff00be61ce5.tar.bz2
SettingsProvider: Allow disabling immersive mode confirmation for specific packages
Change-Id: I2fac06cbe3321d7384278d875c91128bcc15d629
Diffstat (limited to 'packages/SettingsProvider/src/com/android/providers')
-rw-r--r--packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
index b71796e..e3a3691 100644
--- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
+++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
@@ -2111,6 +2111,10 @@ public class DatabaseHelper extends SQLiteOpenHelper {
loadBooleanSetting(stmt, Settings.Secure.USER_SETUP_COMPLETE,
R.bool.def_user_setup_complete);
+
+ loadStringSetting(stmt, Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS,
+ R.string.def_immersive_mode_confirmations);
+
} finally {
if (stmt != null) stmt.close();
}