mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-03 03:14:17 +00:00
Merge "fix first_api_level property fail in VF projects" into tm-dev am: dd890b5845
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18092208 Change-Id: Ibb5371ba9666682977065d9bcc63245009cba394 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
5
media/omx/1.0/vts/functional/store/VtsHalMediaOmxV1_0TargetStoreTest.cpp
Normal file → Executable file
5
media/omx/1.0/vts/functional/store/VtsHalMediaOmxV1_0TargetStoreTest.cpp
Normal file → Executable file
@@ -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__);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user