diff options
author | Shuzhen Wang <shuzhenwang@google.com> | 2023-07-28 18:30:58 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-29 06:35:28 +0000 |
commit | 6627079ce7b0a38dc017728e9862535328d5d574 (patch) | |
tree | 6fd2ea98e77569833504b725e7fc463ff286f2de | |
parent | a83cceb12b0133bd51ec990696d6d48970714eb0 (diff) | |
download | cts-6627079ce7b0a38dc017728e9862535328d5d574.tar.gz |
Camera: Skip testZoomTimestampIncrease for instant apps test
For instant apps, PropertyUtil doesnt' work well. Skip the test
for instant apps.
Test: run cts on Pixel 2020
Bug: 287143649
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b5ffc961d58a507d7a3ad992f7c1fc5474173b85)
Merged-In: Ibb110e3d12290385345d577bd70afdd0d41503a2
Change-Id: Ibb110e3d12290385345d577bd70afdd0d41503a2
-rw-r--r-- | tests/camera/src/android/hardware/camera2/cts/CaptureRequestTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/camera/src/android/hardware/camera2/cts/CaptureRequestTest.java b/tests/camera/src/android/hardware/camera2/cts/CaptureRequestTest.java index fd288ea68a5..4da9aa7af72 100644 --- a/tests/camera/src/android/hardware/camera2/cts/CaptureRequestTest.java +++ b/tests/camera/src/android/hardware/camera2/cts/CaptureRequestTest.java @@ -44,6 +44,7 @@ import android.hardware.cts.helpers.CameraUtils; import android.media.Image; import android.os.Build; import android.os.Parcel; +import android.platform.test.annotations.AppModeFull; import android.util.ArraySet; import android.util.Log; import android.util.Pair; @@ -862,6 +863,7 @@ public class CaptureRequestTest extends Camera2SurfaceViewTestCase { * Camera API requires that camera timestamps monotonically increase. */ @Test + @AppModeFull(reason = "PropertyUtil methods don't work for instant apps") public void testZoomTimestampIncrease() throws Exception { if (PropertyUtil.getVendorApiLevel() <= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { // Only run test for Vendor API level V or higher |