Merge "Remove bubble settings from channel pages" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
56d45997b3
@@ -108,12 +108,6 @@
|
|||||||
settings:useAdditionalSummary="true"
|
settings:useAdditionalSummary="true"
|
||||||
settings:restrictedSwitchSummary="@string/enabled_by_admin"/>
|
settings:restrictedSwitchSummary="@string/enabled_by_admin"/>
|
||||||
|
|
||||||
<com.android.settingslib.RestrictedSwitchPreference
|
|
||||||
android:key="bubble_pref"
|
|
||||||
android:title="@string/notification_bubbles_title"
|
|
||||||
android:order="16"
|
|
||||||
settings:restrictedSwitchSummary="@string/enabled_by_admin" />
|
|
||||||
|
|
||||||
<!-- Bypass DND -->
|
<!-- Bypass DND -->
|
||||||
<com.android.settingslib.RestrictedSwitchPreference
|
<com.android.settingslib.RestrictedSwitchPreference
|
||||||
android:key="bypass_dnd"
|
android:key="bypass_dnd"
|
||||||
|
@@ -129,8 +129,6 @@ public class ChannelNotificationSettings extends NotificationSettings {
|
|||||||
mControllers.add(new BadgePreferenceController(context, mBackend));
|
mControllers.add(new BadgePreferenceController(context, mBackend));
|
||||||
mControllers.add(new DndPreferenceController(context, mBackend));
|
mControllers.add(new DndPreferenceController(context, mBackend));
|
||||||
mControllers.add(new NotificationsOffPreferenceController(context));
|
mControllers.add(new NotificationsOffPreferenceController(context));
|
||||||
mControllers.add(new BubblePreferenceController(context, getChildFragmentManager(),
|
|
||||||
mBackend, false /* isAppPage */));
|
|
||||||
mControllers.add(new ConversationPromotePreferenceController(context, this, mBackend));
|
mControllers.add(new ConversationPromotePreferenceController(context, this, mBackend));
|
||||||
return new ArrayList<>(mControllers);
|
return new ArrayList<>(mControllers);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user