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

Commit 7d2b34ac authored by Yujing Gu's avatar Yujing Gu Committed by Linux Build Service Account
Browse files

Optimize SIM phonebook feature with new batch APIs

1. Declare new RIL request and response for loading and
updating SIM contacts.
2. Add config to control the SIM phonebook feature

Change-Id: Iee95f44a4e458cef6b99de29e17899a39973dc47
parent 911884e1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2528,4 +2528,6 @@
    <string-array translatable="false" name="config_defaultPinnerServiceFiles">
    </string-array>

    <!-- Configuartion to support SIM contact batch operation.-->
    <bool name="config_sim_phonebook_batch_operation">true</bool>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -2655,4 +2655,6 @@
  <java-symbol type="bool" name="config_enableCpuBoostForPanelViewFling" />
  <java-symbol type="array" name="panelview_flingboost_param_value" />

  <!-- SIM contact batch operation -->
  <java-symbol type="bool" name="config_sim_phonebook_batch_operation" />
</resources>
+4 −0
Original line number Diff line number Diff line
@@ -415,6 +415,8 @@ cat include/telephony/ril.h | \
    int RIL_REQUEST_GET_ACTIVITY_INFO = 135;
    int RIL_REQUEST_SIM_GET_ATR = 136;
    int RIL_REQUEST_CAF_SIM_OPEN_CHANNEL_WITH_P2 = 137;
    int RIL_REQUEST_GET_ADN_RECORD = 138;
    int RIL_REQUEST_UPDATE_ADN_RECORD = 139;

    int RIL_RESPONSE_ACKNOWLEDGEMENT = 800;

@@ -465,4 +467,6 @@ cat include/telephony/ril.h | \
    int RIL_UNSOL_ON_SS = 1043;
    int RIL_UNSOL_STK_CC_ALPHA_NOTIFY = 1044;
    int RIL_UNSOL_LCEDATA_RECV = 1045;
    int RIL_UNSOL_RESPONSE_ADN_INIT_DONE = 1046;
    int RIL_UNSOL_RESPONSE_ADN_RECORDS = 1047;
}