miuicamera-venus: 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.
6a5fdc1d5f

Change-Id: I97e7ca9f24adad3ede69b599f8d44fdc96646048
Signed-off-by: ralph950412 <ralph950412@gmail.com>
This commit is contained in:
Arian
2025-01-09 18:29:00 +01:00
committed by ralph950412
parent 0caaaa1c85
commit 1a7b7446ba

View File

@@ -32,10 +32,10 @@ lib_fixups: lib_fixups_user_type = {
}
blob_fixups: blob_fixups_user_type = {
(
'system/lib64/libcamera_algoup_jni.xiaomi.so',
'system/lib64/libcamera_mianode_jni.xiaomi.so',
): blob_fixup()
'system/lib64/libcamera_algoup_jni.xiaomi.so': blob_fixup()
.add_needed('libgui_shim_miuicamera.so')
.sig_replace('08 AD 40 F9', '08 A9 40 F9'),
'system/lib64/libcamera_mianode_jni.xiaomi.so': blob_fixup()
.add_needed('libgui_shim_miuicamera.so'),
'system/lib64/libmicampostproc_client.so': blob_fixup()
.remove_needed('libhidltransport.so'),