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

Commit 6928f201 authored by Suresh Koleti's avatar Suresh Koleti Committed by Linux Build Service Account
Browse files

Telephony: STK CC feature implementation

Add strings and constants required for stk cc feature.

Change-Id: Id5ec987cdc8dc2d9eebdf01fe546eb96ec0c69f9
(cherry picked from commit 0647546916683963ba5191b4d013bd6ff3c7483d)
(cherry picked from commit 17e39ecff8e0ab7590308e78a0b2cfcf728693d5)
parent 46327561
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -4497,4 +4497,14 @@
    <!-- Longer version of toast bar message when hiding the transient navigation bar (if room) -->
    <!-- Longer version of toast bar message when hiding the transient navigation bar (if room) -->
    <string name="transient_navigation_confirmation_long">Swipe from edge of screen to reveal system bar</string>
    <string name="transient_navigation_confirmation_long">Swipe from edge of screen to reveal system bar</string>
    <add-resource type="bool" name="config_hotswapCapable"></add-resource>
    <add-resource type="bool" name="config_hotswapCapable"></add-resource>

    <!-- Displayed when the USSD/SS request is modified by STK CC to a
    different request. This will be displayed in a toast. -->
    <string name="stk_cc_ussd_to_dial">USSD request is modified to DIAL request.</string>
    <string name="stk_cc_ussd_to_ss">USSD request is modified to SS request.</string>
    <string name="stk_cc_ussd_to_ussd">USSD request is modified to new USSD request.</string>
    <string name="stk_cc_ss_to_dial">SS request is modified to DIAL request.</string>
    <string name="stk_cc_ss_to_ussd">SS request is modified to USSD request.</string>
    <string name="stk_cc_ss_to_ss">SS request is modified to new SS request.</string>

</resources>
</resources>
+6 −0
Original line number Original line Diff line number Diff line
@@ -836,6 +836,12 @@
  <java-symbol type="string" name="default_audio_route_name_dock_speakers" />
  <java-symbol type="string" name="default_audio_route_name_dock_speakers" />
  <java-symbol type="string" name="default_media_route_name_hdmi" />
  <java-symbol type="string" name="default_media_route_name_hdmi" />
  <java-symbol type="string" name="default_audio_route_category_name" />
  <java-symbol type="string" name="default_audio_route_category_name" />
  <java-symbol type="string" name="stk_cc_ss_to_dial" />
  <java-symbol type="string" name="stk_cc_ss_to_ss" />
  <java-symbol type="string" name="stk_cc_ss_to_ussd" />
  <java-symbol type="string" name="stk_cc_ussd_to_dial" />
  <java-symbol type="string" name="stk_cc_ussd_to_ss" />
  <java-symbol type="string" name="stk_cc_ussd_to_ussd" />
  <java-symbol type="string" name="safe_media_volume_warning" />
  <java-symbol type="string" name="safe_media_volume_warning" />
  <java-symbol type="string" name="media_route_status_scanning" />
  <java-symbol type="string" name="media_route_status_scanning" />
  <java-symbol type="string" name="media_route_status_connecting" />
  <java-symbol type="string" name="media_route_status_connecting" />
+11 −0
Original line number Original line Diff line number Diff line
@@ -58,6 +58,15 @@ public interface RILConstants {
    int ILLEGAL_SIM_OR_ME = 15;               /* network selection failure due
    int ILLEGAL_SIM_OR_ME = 15;               /* network selection failure due
                                                 to wrong SIM/ME and no
                                                 to wrong SIM/ME and no
                                                 retries needed */
                                                 retries needed */
    int DIAL_MODIFIED_TO_USSD = 17;           /* DIAL request modified to USSD */
    int DIAL_MODIFIED_TO_SS = 18;             /* DIAL request modified to SS */
    int DIAL_MODIFIED_TO_DIAL = 19;           /* DIAL request modified to DIAL with different data*/
    int USSD_MODIFIED_TO_DIAL = 20;           /* USSD request modified to DIAL */
    int USSD_MODIFIED_TO_SS = 21;             /* USSD request modified to SS */
    int USSD_MODIFIED_TO_USSD = 22;           /* USSD request modified to different USSD request */
    int SS_MODIFIED_TO_DIAL = 23;             /* SS request modified to DIAL */
    int SS_MODIFIED_TO_USSD = 24;             /* SS request modified to USSD */
    int SS_MODIFIED_TO_SS = 25;               /* SS request modified to different SS request */


    /* NETWORK_MODE_* See ril.h RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE */
    /* NETWORK_MODE_* See ril.h RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE */
    int NETWORK_MODE_WCDMA_PREF     = 0; /* GSM/WCDMA (WCDMA preferred) */
    int NETWORK_MODE_WCDMA_PREF     = 0; /* GSM/WCDMA (WCDMA preferred) */
@@ -320,4 +329,6 @@ cat include/telephony/ril.h | \
    int RIL_UNSOL_VOICE_RADIO_TECH_CHANGED = 1035;
    int RIL_UNSOL_VOICE_RADIO_TECH_CHANGED = 1035;
    int RIL_UNSOL_CELL_INFO_LIST = 1036;
    int RIL_UNSOL_CELL_INFO_LIST = 1036;
    int RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED = 1037;
    int RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED = 1037;
    int RIL_UNSOL_ON_SS = 1038;
    int RIL_UNSOL_STK_CC_ALPHA_NOTIFY = 1039;
}
}