summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author fionaxu <fionaxu@google.com> 2018-05-16 18:52:27 -0700
committer fionaxu <fionaxu@google.com> 2018-05-17 15:03:00 -0700
commit3083d0b0c7e82bb11e5abb33abd88f44ec600996 (patch)
tree6a3893b1903c3ac86aa86c8002d102d4a4c7d945
parent88bac47c755ca794a0f96ee549fcc5ef99c0d412 (diff)
add javadoc for carrier ifd install API
Bug: 79426800 Change-Id: Iaf5af11220c85dc63164cee31414dce8e4d02037
-rw-r--r--core/java/android/os/ConfigUpdate.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/java/android/os/ConfigUpdate.java b/core/java/android/os/ConfigUpdate.java
index 53b1c5183f1a..7858c5986bcb 100644
--- a/core/java/android/os/ConfigUpdate.java
+++ b/core/java/android/os/ConfigUpdate.java
@@ -91,7 +91,14 @@ public final class ConfigUpdate {
= "android.intent.action.UPDATE_NETWORK_WATCHLIST";
/**
- * Update carrier id config file.
+ * Broadcast intent action indicating that the updated carrier id config is available.
+ * <p>Extra: "VERSION" the numeric version of the new data. Devices should only install if the
+ * update version is newer than the current one.
+ * <p>Extra: "REQUIRED_HASH" the hash of the current update data.
+ * <p>Input: {@link android.content.Intent#getData} is URI of downloaded carrier id file.
+ * Devices should pick up the downloaded file and persist to the database
+ * {@link com.android.providers.telephony.CarrierIdProvider}.
+ *
* @hide
*/
@SystemApi