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

Commit 27cd29d0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix userId for PreferencesHelperTest in HSUM" into main

parents 32eb33ed 667b0914
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3171,7 +3171,7 @@ public class PreferencesHelperTest extends UiServiceTestCase {

        doThrow(new SecurityException("no access")).when(mUgmInternal)
                .checkGrantUriPermission(eq(UID_N_MR1), any(), eq(sound),
                    anyInt(), eq(Process.myUserHandle().getIdentifier()));
                    anyInt(), eq(UserHandle.getUserId(UID_N_MR1)));

        final NotificationChannel channel = new NotificationChannel("id2", "name2",
                NotificationManager.IMPORTANCE_DEFAULT);