Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 795eba2a authored by Sarah Chin's avatar Sarah Chin Committed by Automerger Merge Worker
Browse files

Merge "Optimize SIM phonebook feature with new APIs" am: d4a99869

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440613

Change-Id: I4526974fe73c8296760d634012ede6bff33951fb
parents c9f08650 d4a99869
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -14506,6 +14506,15 @@ public class TelephonyManager {
    public static final String CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING =
            "CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING";
    /**
     * 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";
    /** @hide */
    @Retention(RetentionPolicy.SOURCE)
    @StringDef(prefix = "CAPABILITY_", value = {
@@ -14513,6 +14522,7 @@ public class TelephonyManager {
            CAPABILITY_ALLOWED_NETWORK_TYPES_USED,
            CAPABILITY_NR_DUAL_CONNECTIVITY_CONFIGURATION_AVAILABLE,
            CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING,
            CAPABILITY_SIM_PHONEBOOK_IN_MODEM
    })
    public @interface RadioInterfaceCapability {}
+5 −0
Original line number Diff line number Diff line
@@ -497,6 +497,9 @@ public interface RILConstants {
    int RIL_REQUEST_ENABLE_MODEM = 146;
    int RIL_REQUEST_GET_MODEM_STATUS = 147;
    int RIL_REQUEST_CDMA_SEND_SMS_EXPECT_MORE = 148;
    int RIL_REQUEST_GET_SIM_PHONEBOOK_CAPACITY = 149;
    int RIL_REQUEST_GET_SIM_PHONEBOOK_RECORDS = 150;
    int RIL_REQUEST_UPDATE_SIM_PHONEBOOK_RECORD = 151;

    /* The following requests are not defined in RIL.h */
    int RIL_REQUEST_HAL_NON_RIL_BASE = 200;
@@ -582,6 +585,8 @@ public interface RILConstants {
    int RIL_UNSOL_NETWORK_SCAN_RESULT = 1049;
    int RIL_UNSOL_KEEPALIVE_STATUS = 1050;
    int RIL_UNSOL_UNTHROTTLE_APN = 1052;
    int RIL_UNSOL_RESPONSE_SIM_PHONEBOOK_CHANGED = 1053;
    int RIL_UNSOL_RESPONSE_SIM_PHONEBOOK_RECORDS_RECEIVED = 1054;

    /* The following unsols are not defined in RIL.h */
    int RIL_UNSOL_HAL_NON_RIL_BASE = 1100;