summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAdrian DC <radian.dc@gmail.com>2014-06-09 21:16:24 -0500
committerAdrian DC <radian.dc@gmail.com>2016-09-15 10:26:56 -0700
commit4a78446c3e9eab9c116e1523425d366f401ef13e (patch)
tree187ab5a0d790153e49f2b39843f0d9fe54f82f2b /res
parent8bac7b3f128db6df21acbc8b7668d240e9bc1802 (diff)
downloadpackages_apps_Settings-4a78446c3e9eab9c116e1523425d366f401ef13e.zip
packages_apps_Settings-4a78446c3e9eab9c116e1523425d366f401ef13e.tar.gz
packages_apps_Settings-4a78446c3e9eab9c116e1523425d366f401ef13e.tar.bz2
DevelopmentSettings: Add an opt-out for recovery updater
* Some devices should not have this option, for instance all Sony devices supported on CyanogenMod already include the ROM's recovery inside the ramdisk and provide their own init_sony boot selection * Makes sure a user did not enable the option on old installations by disabling it if needed * Disable the recovery updater through the new overlay * Prevent recovery updater related features to run, and pass an additional context argument from BootReceiver to initializeUpdateRecoveryOption to access resources * Similar to the original CM 11.0 commit by Dan Pasanen Change-Id: I1963e27e59353e1a7e26a4edf905bee6c9da0571
Diffstat (limited to 'res')
-rwxr-xr-xres/values/config.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 69707e3..aa97d3c 100755
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -101,4 +101,7 @@
<!-- Does the device allow for manual subscription provisioning? Only works for multi-sim devices,
and currently depends on QC's proprietary telephony stack -->
<bool name="config_enableManualSubProvisioning">true</bool>
+
+ <!-- Does the device allow updating the recovery. -->
+ <bool name="config_enableRecoveryUpdater">true</bool>
</resources>