Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13851814 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Remove bubble settings from channel pages

It's only relevant for conversations

Test: manual
Fixes: 152764095
Change-Id: I31b342396ac3e66652ffc1457321594c55bbe0f3
parent 56d0f6b0
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -108,12 +108,6 @@
            settings:useAdditionalSummary="true"
            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 -->
        <com.android.settingslib.RestrictedSwitchPreference
            android:key="bypass_dnd"
+0 −2
Original line number Diff line number Diff line
@@ -129,8 +129,6 @@ public class ChannelNotificationSettings extends NotificationSettings {
        mControllers.add(new BadgePreferenceController(context, mBackend));
        mControllers.add(new DndPreferenceController(context, mBackend));
        mControllers.add(new NotificationsOffPreferenceController(context));
        mControllers.add(new BubblePreferenceController(context, getChildFragmentManager(),
                mBackend, false /* isAppPage */));
        mControllers.add(new ConversationPromotePreferenceController(context, this, mBackend));
        return new ArrayList<>(mControllers);
    }