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

Commit a5eafaaf authored by Kweku Adams's avatar Kweku Adams Committed by Android (Google) Code Review
Browse files

Merge "Fix Mockito usage." into main

parents 95d8a087 9eb3faab
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -955,8 +955,7 @@ public class FlexibilityControllerTest {
        mJobStore.add(js);

        // Needed because if before and after Uid bias is the same, nothing happens.
        when(mJobSchedulerService.getUidBias(mSourceUid))
                .thenReturn(JobInfo.BIAS_DEFAULT);
        doReturn(JobInfo.BIAS_DEFAULT).when(mJobSchedulerService).getUidBias(mSourceUid);

        synchronized (mFlexibilityController.mLock) {
            mFlexibilityController.maybeStartTrackingJobLocked(js, null);