diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-02 20:39:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-02-02 20:39:31 +0000 |
commit | f4343d4715c7ffc3ba853264cbbeced8489ae3d9 (patch) | |
tree | bea6634d5aebc5fa703ccacdc35fabde7ba33abf | |
parent | 66c82b3f35284b348f36fedba5b214029f65bc28 (diff) | |
parent | 9f46f1fcf9160d70aba4933f191bdc0ff5180178 (diff) | |
download | cts-f4343d4715c7ffc3ba853264cbbeced8489ae3d9.tar.gz |
Merge "Don't run battery saver tests in instant mode." into snap-temp-L46600000958426283
-rw-r--r-- | tests/location/location_fine/src/android/location/cts/fine/LocationManagerFineTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/location/location_fine/src/android/location/cts/fine/LocationManagerFineTest.java b/tests/location/location_fine/src/android/location/cts/fine/LocationManagerFineTest.java index b741a2e31b3..af807bf728c 100644 --- a/tests/location/location_fine/src/android/location/cts/fine/LocationManagerFineTest.java +++ b/tests/location/location_fine/src/android/location/cts/fine/LocationManagerFineTest.java @@ -754,6 +754,7 @@ public class LocationManagerFineTest { } @Test + @AppModeFull(reason = "Instant apps can't access ACTION_BATTERY_CHANGED intent") public void testRequestLocationUpdates_BatterySaver_GpsDisabledScreenOff() throws Exception { // battery saver is unsupported on auto and tv assumeFalse(mContext.getPackageManager().hasSystemFeature(FEATURE_AUTOMOTIVE)); @@ -816,6 +817,7 @@ public class LocationManagerFineTest { } @Test + @AppModeFull(reason = "Instant apps can't access ACTION_BATTERY_CHANGED intent") public void testRequestLocationUpdates_BatterySaver_AllDisabledScreenOff() throws Exception { // battery saver is unsupported on auto and tv assumeFalse(mContext.getPackageManager().hasSystemFeature(FEATURE_AUTOMOTIVE)); @@ -859,6 +861,7 @@ public class LocationManagerFineTest { } @Test + @AppModeFull(reason = "Instant apps can't access ACTION_BATTERY_CHANGED intent") public void testRequestLocationUpdates_BatterySaver_ThrottleScreenOff() throws Exception { // battery saver is unsupported on auto and tv assumeFalse(mContext.getPackageManager().hasSystemFeature(FEATURE_AUTOMOTIVE)); |