Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7cabdc10 authored by Tommy Chiu's avatar Tommy Chiu
Browse files

Fix test assumption for KeyMint+RKP integration

According to the API Level definition (https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels), both 31 and 32 are belong to Android-12 (S).

Bug: 263844771
Change-Id: I92e3f9015607ad9421c02442033e9b586ae07bcb
Test: VtsAidlKeyMintTargetTest #EcdsaWithRkpAttestation
parent c2e1b5f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1214,7 +1214,7 @@ TEST_P(NewKeyGenerationTest, RsaWithRkpAttestation) {
 * that has been generated using an associate IRemotelyProvisionedComponent.
 */
TEST_P(NewKeyGenerationTest, EcdsaWithRkpAttestation) {
    if (get_vsr_api_level() < 32 || AidlVersion() < 2) {
    if (get_vsr_api_level() <= 32 || AidlVersion() < 2) {
        GTEST_SKIP() << "Only required for VSR 12+ and KeyMint 2+";
    }