Loading init/property_service.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -1090,6 +1090,12 @@ static void property_initialize_ro_vendor_api_level() { // required to support. constexpr auto VENDOR_API_LEVEL_PROP = "ro.vendor.api_level"; if (__system_property_find(VENDOR_API_LEVEL_PROP) != nullptr) { // The device already have ro.vendor.api_level in its vendor/build.prop. // Skip initializing the ro.vendor.api_level property. return; } auto vendor_api_level = GetIntProperty("ro.board.first_api_level", __ANDROID_VENDOR_API_MAX__); if (vendor_api_level != __ANDROID_VENDOR_API_MAX__) { // Update the vendor_api_level with "ro.board.api_level" only if both "ro.board.api_level" Loading Loading
init/property_service.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -1090,6 +1090,12 @@ static void property_initialize_ro_vendor_api_level() { // required to support. constexpr auto VENDOR_API_LEVEL_PROP = "ro.vendor.api_level"; if (__system_property_find(VENDOR_API_LEVEL_PROP) != nullptr) { // The device already have ro.vendor.api_level in its vendor/build.prop. // Skip initializing the ro.vendor.api_level property. return; } auto vendor_api_level = GetIntProperty("ro.board.first_api_level", __ANDROID_VENDOR_API_MAX__); if (vendor_api_level != __ANDROID_VENDOR_API_MAX__) { // Update the vendor_api_level with "ro.board.api_level" only if both "ro.board.api_level" Loading