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

Commit ffce10d1 authored by Alec Mouri's avatar Alec Mouri Committed by Android (Google) Code Review
Browse files

Merge "Use ro.board.api_level instead of ro.vndk.version" into main

parents ccc8dff7 8a06fb7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3635,7 +3635,7 @@ void Layer::gatherBufferInfo() {
            // to upsert RenderEngine's caches. Put in a special workaround to be backwards
            // compatible with old vendors, with a ticking clock.
            static const int32_t kVendorVersion =
                    base::GetIntProperty("ro.vndk.version", __ANDROID_API_FUTURE__);
                    base::GetIntProperty("ro.board.api_level", __ANDROID_API_FUTURE__);
            if (const auto format =
                        static_cast<aidl::android::hardware::graphics::common::PixelFormat>(
                                mBufferInfo.mBuffer->getPixelFormat());