diff options
author | Mengjun Leng <quic_mengju@quicinc.com> | 2021-05-13 09:26:47 +0800 |
---|---|---|
committer | Sarah Chin <sarahchin@google.com> | 2021-05-18 11:13:56 -0700 |
commit | bbcef295dfc4041f5247bb3ea561b823f13f7bbb (patch) | |
tree | b8ea50bfe0dd0597e75ee4e526f362f07eb3dd24 /telephony/java/android | |
parent | debdf699e1897e06e47209fc444f0e4ad9cf422a (diff) |
Optimize SIM phonebook feature with new APIs
1. Declare the constant events for loading and updating SIM contacts.
2. Introduce radio HAL capability to control the SIM phonebook feature.
Bug: 23044962
Change-Id: Ice0cc1cddc832b5ae0f272348503e28842fccbb6
Diffstat (limited to 'telephony/java/android')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 78da86c57ef1..a262954e6547 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -15025,6 +15025,15 @@ public class TelephonyManager { "CAPABILITY_PHYSICAL_CHANNEL_CONFIG_1_6_SUPPORTED"; /** + * Indicates whether modem supports handling parsed SIM phonebook records through the RIL, + * both batched reads and individual writes. + * + * @hide + */ + public static final String CAPABILITY_SIM_PHONEBOOK_IN_MODEM = + "CAPABILITY_SIM_PHONEBOOK_IN_MODEM"; + + /** * A list of the radio interface capability values with public valid constants. * * Here is a related list for the systemapi-only valid constants: @@ -15039,6 +15048,7 @@ public class TelephonyManager { @Retention(RetentionPolicy.SOURCE) @StringDef(prefix = "CAPABILITY_", value = { CAPABILITY_SLICING_CONFIG_SUPPORTED, + CAPABILITY_SIM_PHONEBOOK_IN_MODEM, }) public @interface RadioInterfaceCapability {} |