Messaging: Handle default SMS app setting properly

* We don't need two settings basically doing the same
* Handling the change needs to happen via RoleIntent, not
  ACTION_CHANGE_DEFAULT
* Our own name sometimes can't be retrieved from package manager (?) -
  just use it from strings

Change-Id: I28abc52329f00b33a316533f12a54a517cba3514
This commit is contained in:
Michael W
2024-12-26 15:54:37 +01:00
parent 241b4cf833
commit 6e9a803f1c
83 changed files with 38 additions and 109 deletions
-2
View File
@@ -369,8 +369,6 @@
<string name="auto_retrieve_mms_when_roaming_pref_title">Roaming auto-retrieve</string>
<string name="auto_retrieve_mms_when_roaming_pref_summary">Automatically retrieve MMS when roaming</string>
<string name="group_mms_pref_title">Group messaging</string>
<!-- Preference title: SMS disabled (Messaging is not default SMS app) -->
<string name="sms_disabled_pref_title">Default SMS app</string>
<!-- Preference title: SMS enabled (Messaging is the default SMS app) -->
<string name="sms_enabled_pref_title">Default SMS app</string>
<!-- Preference summary: Current default SMS app -->