diff options
| author | 2023-11-17 19:10:39 +0000 | |
|---|---|---|
| committer | 2023-11-17 19:10:39 +0000 | |
| commit | ffce10d11f38ff85a230e1feb3a6a2cb2bbc040b (patch) | |
| tree | f7e1e06adbe86ed138fe86b948cea562234f57f7 | |
| parent | ccc8dff7911e18adf502b47860491e0bea4d85c1 (diff) | |
| parent | 8a06fb7d4d68198308987e04c677d3a1b02b5c40 (diff) | |
Merge "Use ro.board.api_level instead of ro.vndk.version" into main
| -rw-r--r-- | services/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 0c0639ee83..4c2da91afe 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -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()); |