identity: Fix API level used for Android 13. am: 3ba59bc5cc

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968520

Change-Id: I7c5a71aa241ef7922ac10b26ff77d8baca202a00
This commit is contained in:
David Zeuthen 2022-02-02 17:29:50 +00:00 committed by Automerger Merge Worker
commit c615a4c009

View file

@ -42,14 +42,14 @@ public class IdentityCredentialImplementedTest extends BaseHostJUnit4Test {
return Integer.parseInt(vendorApiLevelString);
}
// As of Android 13 (API level 31), Identity Credential is required at feature version 202201
// As of Android 13 (API level 32), Identity Credential is required at feature version 202201
// or newer.
//
@RequiresDevice
@Test
public void testIdentityCredentialIsImplemented() throws Exception {
int vendorApiLevel = getVendorApiLevel();
assumeTrue(vendorApiLevel >= 31);
assumeTrue(vendorApiLevel >= 32);
final String minimumFeatureVersionNeeded = "202201";