From eba4b17b6188db5b04c3675913f1f3bda94838c9 Mon Sep 17 00:00:00 2001 From: Raphael Mounier Date: Tue, 18 Jan 2022 19:29:34 +0100 Subject: [PATCH] Fix screen recording on Huawei device V2 Fix screen recording on Huawei device --- ...ix-screen-recording-for-some-devices.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 patches_platform_personal/system_libhwbinder/0001-try-to-fix-screen-recording-for-some-devices.patch diff --git a/patches_platform_personal/system_libhwbinder/0001-try-to-fix-screen-recording-for-some-devices.patch b/patches_platform_personal/system_libhwbinder/0001-try-to-fix-screen-recording-for-some-devices.patch new file mode 100644 index 0000000..65f3c09 --- /dev/null +++ b/patches_platform_personal/system_libhwbinder/0001-try-to-fix-screen-recording-for-some-devices.patch @@ -0,0 +1,26 @@ +From 7ac875c7930932e79db2e96a662c0db037a57122 Mon Sep 17 00:00:00 2001 +From: Victor Bo +Date: Fri, 17 Dec 2021 21:13:19 +0000 +Subject: [PATCH] try to fix screen recording for some devices + + based on https://github.com/eremitein/treble-patches/issues/40 +--- + Parcel.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Parcel.cpp b/Parcel.cpp +index 6be57d3..a0cb27b 100644 +--- a/Parcel.cpp ++++ b/Parcel.cpp +@@ -1348,7 +1348,7 @@ bool Parcel::verifyBufferObject(const binder_buffer_object *buffer_obj, + ALOGE("Buffer in parent %p differs from embedded buffer %p", + bufferInParent, childBuffer); + android_errorWriteLog(0x534e4554, "179289794"); +- return false; ++ return true; + } + } + +-- +2.25.1 +