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

Commit 6c3abd0b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix DoubleBraceInitialization errorprone issues" into main am: 05c40278 am: d005b325

parents dbbcdd6e d005b325
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ import org.robolectric.shadows.ShadowLooper;
import org.robolectric.shadows.ShadowPausedAsyncTask;

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

@RunWith(RobolectricTestRunner.class)
@@ -185,12 +186,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);