summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-02-15 20:59:15 -0800
committerTao Bao <tbao@google.com>2016-02-16 12:22:22 -0800
commitfdf7c5d31fee113cb4602bfc159cbd90ecd9dc48 (patch)
treebaa8945da86ba052615a6d75a927ceb947cc60ce /core/java/android
parentb305e16051192540e2e19863d4c3c0fb3e980db2 (diff)
Add a Settings option of "Disable automatic update".
Bug: 27193001 Change-Id: Ibd205a749ebd674ca4500fd3b701888ac3ee8721
Diffstat (limited to 'core/java/android')
-rwxr-xr-xcore/java/android/provider/Settings.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 3169bf4f0e64..f445e1fcde5a 100755
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -6716,6 +6716,16 @@ public final class Settings {
public static final String STORAGE_BENCHMARK_INTERVAL = "storage_benchmark_interval";
/**
+ * Whether to disable the automatic scheduling of system updates.
+ * 1 = system updates won't be automatically scheduled (will always
+ * present notification instead).
+ * 0 = system updates will be automatically scheduled. (default)
+ * @hide
+ */
+ @SystemApi
+ public static final String OTA_DISABLE_AUTOMATIC_UPDATE = "ota_disable_automatic_update";
+
+ /**
* Whether the package manager should send package verification broadcasts for verifiers to
* review apps prior to installation.
* 1 = request apps to be verified prior to installation, if a verifier exists.