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

Commit 69b34ef3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "fix first_api_level property fail in VF projects"

parents f52d72b9 a8c914ae
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -375,6 +375,11 @@ TEST_P(StoreHidlTest, ListRoles) {
}
}


static int getFirstApiLevel() {
static int getFirstApiLevel() {
    int boardApiLevel = android::base::GetIntProperty("ro.board.first_api_level", 0);
    if (boardApiLevel != 0) {
        return boardApiLevel;
    }

    return android::base::GetIntProperty("ro.product.first_api_level", __ANDROID_API_T__);
    return android::base::GetIntProperty("ro.product.first_api_level", __ANDROID_API_T__);
}
}