Messaging: Implement per conversation channels. Update API level to 28.

* Get rid of in-app settings for notifications, replaced by channels features
* Remove all the notification plumbing and dead code

Test: m, manual

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Signed-off-by: Joey <joey@lineageos.org>
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Arne Coucheron <arco68@gmail.com>
Signed-off-by: Lyubo <lyubodzhamov@gmail.com>
Change-Id: Idb39ca32751d40b3376934775d2119dd6cc7e297
This commit is contained in:
Luca Stefani
2024-09-09 05:46:38 +03:00
committed by Michael Bestas
parent 2fa1f81707
commit 4246987beb
66 changed files with 249 additions and 942 deletions
+4 -23
View File
@@ -42,29 +42,10 @@
android:defaultValue="@bool/send_sound_pref_default"
android:persistent="true" />
<CheckBoxPreference
android:key="@string/notifications_enabled_pref_key"
android:title="@string/notifications_enabled_pref_title"
android:defaultValue="@bool/notifications_enabled_pref_default"
android:persistent="true"
android:disableDependentsState="false" />
<RingtonePreference
android:key="@string/notification_sound_pref_key"
android:title="@string/notification_sound_pref_title"
android:ringtoneType="notification"
android:showSilent="true"
android:showDefault="true"
android:persistent="true"
android:defaultValue=""
android:dependency="@string/notifications_enabled_pref_key" />
<CheckBoxPreference
android:key="@string/notification_vibration_pref_key"
android:title="@string/notification_vibrate_pref_title"
android:defaultValue="@bool/notification_vibration_pref_default"
android:persistent="true"
android:dependency="@string/notifications_enabled_pref_key" />
<Preference
android:key="@string/notifications_pref_key"
android:title="@string/notifications_pref_title"
android:persistent="true" />
<SwitchPreference
android:key="@string/swipe_right_deletes_conversation_key"