For some reason xiaomi has duplicated the Init method as ClientImplGet.
(or it gets automatically generated for them due to some other differences?)
However, our OSS libdisplayconfig.qti doesn't provide this symbol, but the
Init method takes the same parameters and seems to be sufficient for
citsensorservice to work.
Change-Id: I26a88eb379b517f147932310de1da51d65a31c6b
[fiqri19102002: Adapt to python extract utils]
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
Reference from https://review.lineageos.org/c/LineageOS/android_tools_extract-utils/+/411165
Now we can clean the version of the symbol on the blob, this allows
the elf to be checked again on some camera libraries. The libalLDC.so,
libalhLDC.so, libMiVideoFilter.so and libTrueSight.so blobs in the camera library that
previously depended on libnativewindow have now been freed by clearing
the symbol version AHardwareBuffer_* which looks like this:
strings libalLDC.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_lock
AHardwareBuffer_release
AHardwareBuffer_unlock
strings libalhLDC.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_lock
AHardwareBuffer_release
AHardwareBuffer_unlock
strings libTrueSight.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_isSupported
AHardwareBuffer_lock
AHardwareBuffer_release
AHardwareBuffer_unlock
AHardwareBuffer_lockPlanes
strings libMiVideoFilter.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_lockPlanes
AHardwareBuffer_release
AHardwareBuffer_unlock
strings libmorpho_ubwc.so | grep AHardwareBuffer_
AHardwareBuffer_describe
WenHao2130: For socrates' libTrueSight.so, it also needs .clear_symbol_version('AHardwareBuffer_isSupported')
Change-Id: I16619cf32c4486c7600ef32ab928fb2d8c5cd5e5
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>