Merge "Add setting for promoted (live) notifications" into main

This commit is contained in:
Yuri Lin
2024-12-26 10:30:28 -08:00
committed by Android (Google) Code Review
6 changed files with 277 additions and 2 deletions

View File

@@ -30,6 +30,23 @@
<Preference
android:key="block_desc" />
<!-- Whether the app can show promoted notifications -->
<PreferenceCategory
android:title="@string/live_notifications"
android:key="promoted_category"
android:visibility="gone">
<com.android.settingslib.RestrictedSwitchPreference
android:key="promoted_switch"
android:title="@string/live_notifications_switch" />
<Preference
android:key="promoted_desc"
android:summary="@string/live_notifications_desc"
android:selectable="false"/>
</PreferenceCategory>
<!-- Conversations added here -->
<PreferenceCategory
android:title="@string/conversations_category_title"