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

Commit b2a46662 authored by Kweku Adams's avatar Kweku Adams Committed by Automerger Merge Worker
Browse files

Merge "Exit Doze for tests." into udc-dev am: 1c5cbd4f am: 18eeb8d0

parents ec5fd7c0 18eeb8d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.app.job.JobInfo;
import android.app.job.JobScheduler;
import android.content.ComponentName;
import android.content.Context;
import android.os.DeviceIdleManager;
import android.test.AndroidTestCase;

import com.android.server.job.MockBiasJobService.TestEnvironment;
@@ -48,6 +49,7 @@ public class BiasSchedulingTest extends AndroidTestCase {
        sJobServiceComponent = new ComponentName(getContext(), MockBiasJobService.class);
        mJobScheduler = (JobScheduler) getContext().getSystemService(Context.JOB_SCHEDULER_SERVICE);
        mJobScheduler.cancelAll();
        getContext().getSystemService(DeviceIdleManager.class).endIdle("BiasSchedulingTest");
    }

    @Override