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

Commit be87922d authored by Ramya Manoharan's avatar Ramya Manoharan
Browse files

CATService STK SEND_SMS implementation

Addition of Intent in manifest, enabling decoding the user data payload as pack GSM 8-bit
addition of config_stk_sms_send_support value in Config
Bug: 232895860
Test: refactoring CL. Existing unit tests still pass.

Change-Id: I7dd6df5d8de7d4c3e9a035bd828426954a45cc7b
parent 6f677a36
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -818,6 +818,8 @@
    <!-- Added in U -->
    <protected-broadcast android:name="android.intent.action.PROFILE_ADDED" />
    <protected-broadcast android:name="android.intent.action.PROFILE_REMOVED" />
    <protected-broadcast android:name="com.android.internal.telephony.cat.SMS_SENT_ACTION" />
    <protected-broadcast android:name="com.android.internal.telephony.cat.SMS_DELIVERY_ACTION" />

    <!-- ====================================================================== -->
    <!--                          RUNTIME PERMISSIONS                           -->
+7 −1
Original line number Diff line number Diff line
@@ -3017,6 +3017,12 @@
         when alpha identifier is not provided by the UICC -->
    <bool name="config_stkNoAlphaUsrCnf">true</bool>

    <!-- Flag indicating whether the current device allows stk sms send service via framework.
         If true,this means that the device supports sending of stk triggered sms via the telephony.
         This can be overridden to false for devices which can't send stk sms message via
         framework, but would be sent via modem. -->
    <bool name="config_stk_sms_send_support">false</bool>

    <!-- Threshold (in ms) under which a screen off / screen on will be considered a reset of the
         immersive mode confirmation prompt.-->
    <integer name="config_immersive_mode_confirmation_panic">5000</integer>
@@ -3320,7 +3326,7 @@
    <!--From SmsMessage-->
    <!--Support decoding the user data payload as pack GSM 8-bit (a GSM alphabet
        string that's stored in 8-bit unpacked format) characters.-->
    <bool translatable="false" name="config_sms_decode_gsm_8bit_data">false</bool>
    <bool translatable="false" name="config_sms_decode_gsm_8bit_data">true</bool>

    <!-- Configures encoding type to parse the User Data of an SMS for reserved TP-DCS value.
         Refer to SmsConstants.java
+1 −0
Original line number Diff line number Diff line
@@ -2444,6 +2444,7 @@
  <java-symbol type="drawable" name="ic_volume" />
  <java-symbol type="drawable" name="stat_notify_sim_toolkit" />
  <java-symbol type="bool" name="config_stkNoAlphaUsrCnf" />
  <java-symbol type="bool" name="config_stk_sms_send_support" />

  <!-- From maps library -->
  <java-symbol type="array" name="maps_starting_lat_lng" />