summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2013-09-02 15:24:45 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2013-09-02 15:35:06 -0700
commit6bd20bc46c762860cac852888df5adf718f2be24 (patch)
tree1185a078324bb0180003c326a6aed1a0742b8307 /core/java
parent61dda198598e95971ca224e3bcb7393f30e45657 (diff)
downloadframeworks_base-6bd20bc46c762860cac852888df5adf718f2be24.zip
frameworks_base-6bd20bc46c762860cac852888df5adf718f2be24.tar.gz
frameworks_base-6bd20bc46c762860cac852888df5adf718f2be24.tar.bz2
System print service enabled after every system reboot
The system was overriding the user on every boot by turing of all system print services, i.e. service that are on the system image. Now the system print service are enabled by default only once per user, the user can later disable them and the system does not override that. We now have a system setting with the services we enabled once by default so we never do default enabling again (unless device is wiped). bug:10594775 Change-Id: Id3129ccfba95bf57375ea9fec0b5ca0e51bda199
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 31817cc..83e1544 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -3708,13 +3708,22 @@ public final class Settings {
public static final String LONG_PRESS_TIMEOUT = "long_press_timeout";
/**
- * List of the enabled print providers.
+ * List of the enabled print services.
* @hide
*/
public static final String ENABLED_PRINT_SERVICES =
"enabled_print_services";
/**
+ * List of the system print services we enabled on first boot. On
+ * first boot we enable all system, i.e. bundled print services,
+ * once, so they work out-of-the-box.
+ * @hide
+ */
+ public static final String ENABLED_ON_FIRST_BOOT_SYSTEM_PRINT_SERVICES =
+ "enabled_on_first_boot_system_print_services";
+
+ /**
* Setting to always use the default text-to-speech settings regardless
* of the application settings.
* 1 = override application settings,