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

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

Merge "Mock AM.getCurrentUserId for hsum devices" into main

parents cb9fa698 0e212f06
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -595,6 +595,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase {
                .thenReturn(INVALID_TASK_ID);
        mContext.addMockSystemService(AppOpsManager.class, mock(AppOpsManager.class));
        when(mUm.getProfileIds(eq(mUserId), eq(false))).thenReturn(new int[] { mUserId });
        when(mAmi.getCurrentUserId()).thenReturn(mUserId);
        when(mPackageManagerClient.hasSystemFeature(FEATURE_TELECOM)).thenReturn(true);