diff options
| author | Shuo Qian <shuoq@google.com> | 2019-10-17 23:18:56 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-10-17 23:18:56 +0000 |
| commit | f5a5d65bc3a5cbd5cd6d9eade09d32ddab99a747 (patch) | |
| tree | 0689fd93b4e73771bab8f8081532c1fa590e8f74 /core/java | |
| parent | 21fff1d68efe861bbee7bbee43b1c29742774d93 (diff) | |
| parent | 8163b80a7ec63e8869742c8eac7291629d9c32f8 (diff) | |
Merge "Emergency number database config updater"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/os/ConfigUpdate.java | 15 |
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() { } } |
