Loading services/tests/servicestests/src/com/android/server/job/BackgroundRestrictionsTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ import android.provider.Settings; import android.util.Log; import androidx.test.InstrumentationRegistry; import androidx.test.filters.FlakyTest; import androidx.test.filters.LargeTest; import androidx.test.runner.AndroidJUnit4; Loading Loading @@ -131,6 +132,7 @@ public class BackgroundRestrictionsTest { } @Test @FlakyTest public void testPowerWhiteList() throws Exception { scheduleAndAssertJobStarted(); setAppOpsModeAllowed(false); Loading Loading
services/tests/servicestests/src/com/android/server/job/BackgroundRestrictionsTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ import android.provider.Settings; import android.util.Log; import androidx.test.InstrumentationRegistry; import androidx.test.filters.FlakyTest; import androidx.test.filters.LargeTest; import androidx.test.runner.AndroidJUnit4; Loading Loading @@ -131,6 +132,7 @@ public class BackgroundRestrictionsTest { } @Test @FlakyTest public void testPowerWhiteList() throws Exception { scheduleAndAssertJobStarted(); setAppOpsModeAllowed(false); Loading