diff --git a/patchForAndroid15/frameworks/native/frameworks-native-0001.patch b/patchForAndroid15/frameworks/native/frameworks-native-0001.patch index 97bf2733efeccd07e86b32bbe623e4d9655a6b98..136bc51324b8292606c5d1f1c15d7d64417e5432 100644 --- a/patchForAndroid15/frameworks/native/frameworks-native-0001.patch +++ b/patchForAndroid15/frameworks/native/frameworks-native-0001.patch @@ -44,14 +44,14 @@ index 5e7f1510bc..83bae2c75f 100644 if (result != 0) { android_errorWriteLog(0x534e4554, "121035042"); diff --git a/libs/ui/GraphicBufferAllocator.cpp b/libs/ui/GraphicBufferAllocator.cpp -index 1ebe5973fa..2b3ac1c949 100644 +index 1ebe5973fa..375019124c 100644 --- a/libs/ui/GraphicBufferAllocator.cpp +++ b/libs/ui/GraphicBufferAllocator.cpp @@ -143,8 +143,9 @@ auto GraphicBufferAllocator::allocate(const AllocationRequest& request) -> Alloc return result; } // If there's no additional options, fall back to previous allocate version -+ const uint64_t usage = (request.usage & ~static_cast((1 << 10) | (1 << 13))) ++ const uint64_t usage = (request.usage & ~static_cast((1 << 10) | (1 << 13))); result.status = mAllocator->allocate(request.requestorName, request.width, request.height, - request.format, request.layerCount, request.usage, + request.format, request.layerCount, usage,