diff options
| author | 2022-06-06 09:57:49 +0000 | |
|---|---|---|
| committer | 2022-09-22 10:54:21 +0000 | |
| commit | be87922dab87f5b2ada80f7d9dcbf63dbca5f7c4 (patch) | |
| tree | 4c85660b1073f17fb340fc9bce5638d35b9f0422 | |
| parent | 6f677a36ec25fbbb21805f27af7477d85051f203 (diff) | |
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
| -rw-r--r-- | core/res/AndroidManifest.xml | 2 | ||||
| -rw-r--r-- | core/res/res/values/config.xml | 8 | ||||
| -rw-r--r-- | core/res/res/values/symbols.xml | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 4d41c3091786..9fa1d65c8998 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -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 --> diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 1d2ce7eb37c3..fff34a9855ee 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -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 diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 95a81e82a2f4..1426a7b09c78 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -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" /> |