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

Commit 925ad83e authored by Victor Hsieh's avatar Victor Hsieh Committed by Automerger Merge Worker
Browse files

Merge "Run ApkVerityTest if first api level >= 30" into rvc-dev am: 0af18474

Change-Id: Ie503d02457b0f187e2f6510e3ecae8708ee83066
parents d34b92c1 0af18474
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -98,7 +98,8 @@ public class ApkVerityTest extends BaseHostJUnit4Test {
        mDevice = getDevice();

        String apkVerityMode = mDevice.getProperty("ro.apk_verity.mode");
        assumeTrue(APK_VERITY_STANDARD_MODE.equals(apkVerityMode));
        assumeTrue(mDevice.getLaunchApiLevel() >= 30
                || APK_VERITY_STANDARD_MODE.equals(apkVerityMode));

        mKeyId = expectRemoteCommandToSucceed(
                "mini-keyctl padd asymmetric fsv_test .fs-verity < " + CERT_PATH).trim();