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

Commit 0af18474 authored by Victor Hsieh's avatar Victor Hsieh Committed by Android (Google) Code Review
Browse files

Merge "Run ApkVerityTest if first api level >= 30" into rvc-dev

parents a7dae497 4a70ead5
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();