MiuiCamera: Patch algo jni lib to use correct Surface::connect method
In android 15 QPR1, google has removed a public method of the Surface class. Our jni lib used that method and relies on the offset remaining the same, so patch the lib to load it with the smaller offset. LineageOS/android_frameworks_native@6a5fdc1 Co-authored-by: Arian <arian.kulmer@web.de>
This commit is contained in:
1 parent
09fa2c4b2a
commit
b21db8d985
2 files changed
+4
No files matched your search
@@ -60,6 +60,10 @@ function blob_fixup() {
|
||||
system/lib64/libmicampostproc_client.so)
|
||||
patchelf --remove-needed libhidltransport.so "${2}"
|
||||
;;
|
||||
system/lib64/libcamera_algoup_jni.xiaomi.so)
|
||||
[ "$2" = "" ] && return 0
|
||||
sed -i "s/\x08\xad\x40\xf9/\x08\xa9\x40\xf9/" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user