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

Commit cdf50ec8 authored by Seth Moore's avatar Seth Moore Committed by Gerrit Code Review
Browse files

Merge "Relax restrictions on supported API levels" into main

parents c1bf5f8a 0e79b696
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1005,7 +1005,7 @@ ErrMsgOr<bytevec> parseAndValidateAuthenticatedRequestSignedPayload(

ErrMsgOr<hwtrust::DiceChain::Kind> getDiceChainKind() {
    int vendor_api_level = ::android::base::GetIntProperty("ro.vendor.api_level", -1);
    if (vendor_api_level == __ANDROID_API_T__) {
    if (vendor_api_level <= __ANDROID_API_T__) {
        return hwtrust::DiceChain::Kind::kVsr13;
    } else if (vendor_api_level == __ANDROID_API_U__) {
        return hwtrust::DiceChain::Kind::kVsr14;