CamcorderProfile: Update the limits of unknown profiles
Update the last-quality limits to include the 2K/4K profiles added
Bug: 130844524
Test: CTS test.
Advertize 4K-DCI, 2K profiles in media_codecs.xml and
run cts -m CtsMediaTestCases -t android.media.cts.CamcorderProfileTest --skip-preconditions
Change-Id: I6fd675a458841205bc6a3fda4c44a95481ff498f
diff --git a/tests/tests/media/src/android/media/cts/CamcorderProfileTest.java b/tests/tests/media/src/android/media/cts/CamcorderProfileTest.java
index dd96c2c..6abf63d 100644
--- a/tests/tests/media/src/android/media/cts/CamcorderProfileTest.java
+++ b/tests/tests/media/src/android/media/cts/CamcorderProfileTest.java
@@ -58,9 +58,9 @@
CamcorderProfile.QUALITY_HIGH_SPEED_1080P,
CamcorderProfile.QUALITY_HIGH_SPEED_2160P
};
- private static final int LAST_QUALITY = CamcorderProfile.QUALITY_2160P;
- private static final int LAST_TIMELAPSE_QUALITY = CamcorderProfile.QUALITY_TIME_LAPSE_2160P;
- private static final int LAST_HIGH_SPEED_QUALITY = CamcorderProfile.QUALITY_HIGH_SPEED_2160P;
+ private static final int LAST_QUALITY = CamcorderProfile.QUALITY_2K;
+ private static final int LAST_TIMELAPSE_QUALITY = CamcorderProfile.QUALITY_TIME_LAPSE_2K;
+ private static final int LAST_HIGH_SPEED_QUALITY = CamcorderProfile.QUALITY_HIGH_SPEED_4KDCI;
private static final Integer[] UNKNOWN_QUALITIES = {
LAST_QUALITY + 1, // Unknown normal profile quality
LAST_TIMELAPSE_QUALITY + 1, // Unknown timelapse profile quality