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

Commit 05c40278 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix DoubleBraceInitialization errorprone issues" into main

parents 422770ed 2483b320
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ import org.robolectric.annotation.LooperMode;
import org.robolectric.shadows.ShadowApplication;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

@RunWith(RobolectricTestRunner.class)
@@ -175,12 +176,7 @@ public class AppChannelsBypassingDndPreferenceControllerTest {
                NotificationManager.IMPORTANCE_DEFAULT));

        ParceledListSlice<NotificationChannelGroup> groups = new ParceledListSlice<>(
                new ArrayList<NotificationChannelGroup>() {
                    {
                        add(group1);
                        add(group2);
                    }
                }
                Arrays.asList(group1, group2)
        );

        when(mBackend.getGroups(eq(mAppRow.pkg), eq(mAppRow.uid))).thenReturn(groups);