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

Commit 25b063a4 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8522600 from dd890b58 to tm-release

Change-Id: I003a8c88e7dac2b43b9ccdfcf73f8216721167f4
parents 66033fe7 dd890b58
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -375,6 +375,11 @@ TEST_P(StoreHidlTest, ListRoles) {
}

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__);
}