diff options
author | Scott Mertz <scott@cyngn.com> | 2016-02-16 09:11:23 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-16 12:02:17 -0800 |
commit | 55abf844c0c1e4dc93b87d0977ed1ff294a9266d (patch) | |
tree | e8e1a8b6c5cf75958b579af63fe9b581233d2a11 /src/com/android/settings/cyanogenmod | |
parent | 69f45f56e41f7f7fe70c497216d1ea0b8cecc62f (diff) | |
download | packages_apps_Settings-55abf844c0c1e4dc93b87d0977ed1ff294a9266d.zip packages_apps_Settings-55abf844c0c1e4dc93b87d0977ed1ff294a9266d.tar.gz packages_apps_Settings-55abf844c0c1e4dc93b87d0977ed1ff294a9266d.tar.bz2 |
DevelopmentSettings: initialize recovery update property at boot
Android behavior has changed to load & trigger build.prop & default.prop
at every boot. Once data is mounted, it reloads & triggers properties
set by the user. If we set persist.sys.recovery_update to true in build.prop
or default.prop, the user's preference will never be honored. Instead,
ensure the default always comes from userdata.
Accompanying patches to remove the default properties are required.
OPO-490
Change-Id: I3a5245088059f083554063ba6d345783114fa7a0
Diffstat (limited to 'src/com/android/settings/cyanogenmod')
-rw-r--r-- | src/com/android/settings/cyanogenmod/BootReceiver.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/settings/cyanogenmod/BootReceiver.java b/src/com/android/settings/cyanogenmod/BootReceiver.java index 19d2434..14e004d 100644 --- a/src/com/android/settings/cyanogenmod/BootReceiver.java +++ b/src/com/android/settings/cyanogenmod/BootReceiver.java @@ -27,6 +27,7 @@ import com.android.settings.hardware.VibratorIntensity; import com.android.settings.inputmethod.InputMethodAndLanguageSettings; import com.android.settings.livedisplay.DisplayGamma; import com.android.settings.location.LocationSettings; +import com.android.settings.DevelopmentSettings; public class BootReceiver extends BroadcastReceiver { @@ -43,5 +44,7 @@ public class BootReceiver extends BroadcastReceiver { // Extract the contributors database ContributorsCloudFragment.extractContributorsCloudDatabase(ctx); + + DevelopmentSettings.initializeUpdateRecoveryOption(); } } |