No description
Find a file
Ivan Vecera d67ae54f8e compat: Fix ABI issues
Several constructor shims are implemented incorrectly because
they completely ignore the fact that constructors have 'this-call'
calling convention and should pass 'this ptr' as the first argument [1]
as well as its return value, at least according ARM ABI [2].

Additionally android::SurfaceComposerClient::Transaction::apply(bool)
shim has void return value instead of status_t so the caller retrieves
random value.

[1] https://review.lineageos.org/c/LineageOS/android_device_xiaomi_sdm710-common/+/360011/comments/eb6600df_3e2fb434
[2] 617079d8a0/cppabi32/cppabi32.rst (L576)

Change-Id: I7b14b5d3ca6008c1e4b3f5fcbaece5021b3cbb82
Signed-off-by: Ivan Vecera <ivan@cera.cz>
2023-06-26 15:20:07 +02:00
libbase compat: Fix ABI issues 2023-06-26 15:20:07 +02:00
libcamera_metadata compat: Add libcamera_metadata shim for stripping out system camera cap 2022-11-25 22:27:26 +02:00
libcutils libcutils_shim: jstring: Import strcpy8to16 definition 2022-09-21 13:10:09 -04:00
libgui compat: Fix ABI issues 2023-06-26 15:20:07 +02:00
libmemset Provide shim for android_memset32 2022-09-21 16:26:12 +01:00
libpiex compat: libpiex_shim: Improve shim 2022-11-01 10:35:17 +00:00
libui compat: Fix ABI issues 2023-06-26 15:20:07 +02:00
Android.bp compat: Add libcamera_metadata shim for stripping out system camera cap 2022-11-25 22:27:26 +02:00