summaryrefslogtreecommitdiff
path: root/core/java/android/os
diff options
context:
space:
mode:
authorShuo Qian <shuoq@google.com>2019-10-21 13:22:50 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-10-21 13:22:50 -0700
commit9208fc5a0ac3cea85424aaa8d2ee08782242c8bd (patch)
tree72eaf77779aaa2a154844edb7d6cf3fbe94278d3 /core/java/android/os
parentdef0631cafbb0c3691183fc97a93c43c84e2d347 (diff)
parentca0f14ec1abec029b46d549ec7dcf3001c114f5e (diff)
Merge "Emergency number database config updater"
am: ca0f14ec1a Change-Id: Ice41292677b52fe62fa860960fe62a29e28068dc
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/ConfigUpdate.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/os/ConfigUpdate.java b/core/java/android/os/ConfigUpdate.java
index 767c15caefd0..9c999b202797 100644
--- a/core/java/android/os/ConfigUpdate.java
+++ b/core/java/android/os/ConfigUpdate.java
@@ -113,6 +113,21 @@ public final class ConfigUpdate {
public static final String ACTION_UPDATE_CARRIER_ID_DB
= "android.os.action.UPDATE_CARRIER_ID_DB";
+ /**
+ * Broadcast intent action indicating that the updated emergency number database 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 emergency number file.
+ * Devices should pick up the downloaded file and persist to the database
+ * {@code com.android.internal.telephony.emergency.EmergencyNumberTracker}.
+ *
+ * @hide
+ */
+ @SystemApi
+ public static final String ACTION_UPDATE_EMERGENCY_NUMBER_DB =
+ "android.os.action.UPDATE_EMERGENCY_NUMBER_DB";
+
private ConfigUpdate() {
}
}