From 31002f5d2e52dc907bbaf585234e076fa7a58e2a Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Fri, 8 Dec 2023 13:46:28 +0900 Subject: [PATCH] Vendor api level cannot use sdk api level Update __ANDROID_API_V__ with 202404 for the vendor api level. Bug: 312798205 Bug: 315246126 Test: atest VtsHalRemotelyProvisionedComponentTargetTest Change-Id: I0e6ff71e57137e3f6d7e5e5bf082d10026cec2e0 --- security/keymint/support/remote_prov_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/keymint/support/remote_prov_utils.cpp b/security/keymint/support/remote_prov_utils.cpp index bd1e557457..ecfdfd2b33 100644 --- a/security/keymint/support/remote_prov_utils.cpp +++ b/security/keymint/support/remote_prov_utils.cpp @@ -978,7 +978,7 @@ ErrMsgOr getDiceChainKind() { return hwtrust::DiceChain::Kind::kVsr13; case __ANDROID_API_U__: return hwtrust::DiceChain::Kind::kVsr14; - case __ANDROID_API_V__: + case 202404: /* TODO(b/315056516) Use a version macro for vendor API 24Q2 */ return hwtrust::DiceChain::Kind::kVsr15; default: return "Unsupported vendor API level: " + std::to_string(vendor_api_level);