sm8550-common: Patch libsamsungcamerahal to expose all camera IDs

Replaces GetCameraIdList's address with that of GetCameraIdListAll so
that calls to GetCameraIdList will also expose all camera IDs

```
$ nm -D libsamsungcamerahal.so | grep GetCameraIdList
0000000000008ae0 T _ZNK7android18samsung_camera_hal14CameraProvider15GetCameraIdListEPNSt3__16vectorIjNS2_9allocatorIjEEEE
0000000000008b94 T _ZNK7android18samsung_camera_hal14CameraProvider18GetCameraIdListAllEPNSt3__16vectorIjNS2_9allocatorIjEEE
```

Change-Id: I7c572460a0f0bbde5f06e05b2bf6f152036c3030
This commit is contained in:
Secondarian
2025-03-28 21:48:57 +08:00
committed by chaptsand
parent f905ddc5ab
commit 3e68284a90

View File

@@ -72,6 +72,8 @@ blob_fixups: blob_fixups_user_type = {
.add_needed('libcodec2_shim.so'), .add_needed('libcodec2_shim.so'),
'vendor/lib64/unihal_android.so': blob_fixup() 'vendor/lib64/unihal_android.so': blob_fixup()
.add_needed('libui_shim.so'), .add_needed('libui_shim.so'),
'vendor/lib64/libsamsungcamerahal.so': blob_fixup()
.sig_replace('E0 8A', '94 8B'),
'vendor/etc/init/android.hardware.security.keymint-service.rc': blob_fixup() 'vendor/etc/init/android.hardware.security.keymint-service.rc': blob_fixup()
.regex_replace('android.hardware.security.keymint-service', 'android.hardware.security.keymint-service-qti'), .regex_replace('android.hardware.security.keymint-service', 'android.hardware.security.keymint-service-qti'),
} # fmt: skip } # fmt: skip