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
-1
View File
@@ -26,7 +26,6 @@
<string name="notification_sound_pref_key" translatable="false">notification_sound</string>
<string name="notification_vibration_pref_key" translatable="false">notification_vibration</string>
<bool name="notification_vibration_pref_default" translatable="false">true</bool>
<string name="sms_disabled_pref_key" translatable="false">sms_disabled</string>
<string name="sms_enabled_pref_key" translatable="false">sms_enabled</string>
<string name="send_sound_pref_key" translatable="false">send_sound</string>
<bool name="send_sound_pref_default" translatable="false">true</bool>