summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2014-08-14 16:47:23 -0700
committerJeff Davidson <jpd@google.com>2014-08-14 16:47:23 -0700
commit56f9f73a5aad38aa777ec9a42c859e687f2d2af1 (patch)
treecfcf50000169de2d3dc34873f6b3ff89df4b7e65 /core/java/android/provider
parentf2546bf4235d0c875e9394986535febf068b6101 (diff)
downloadframeworks_base-56f9f73a5aad38aa777ec9a42c859e687f2d2af1.zip
frameworks_base-56f9f73a5aad38aa777ec9a42c859e687f2d2af1.tar.gz
frameworks_base-56f9f73a5aad38aa777ec9a42c859e687f2d2af1.tar.bz2
Fix default scorer provisioning.
Use Settings.Global instead of SharedPreferences (which don't work) to track whether we've run the one-time provisioning step of activating the build-time configured default scorer. Bug: 16980605 Change-Id: I093cdd6f4f1110960078a186191c4e02b5543d6a
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Settings.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 55ba9e9..6e5c992 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -6411,6 +6411,14 @@ public final class Settings {
public static final String GUEST_USER_ENABLED = "guest_user_enabled";
/**
+ * Whether the NetworkScoringService has been first initialized.
+ * <p>
+ * Type: int (0 for false, 1 for true)
+ * @hide
+ */
+ public static final String NETWORK_SCORING_PROVISIONED = "network_scoring_provisioned";
+
+ /**
* Settings to backup. This is here so that it's in the same place as the settings
* keys and easy to update.
*