sm8250-common: Hacks for FOD
Change-Id: I31db727d6c117060d1f3602d7253578590bd4038
This commit is contained in:
@@ -172,7 +172,8 @@ PRODUCT_PACKAGES += \
|
|||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.biometrics.fingerprint@2.3-service.oplus
|
android.hardware.biometrics.fingerprint@2.3-service.oplus \
|
||||||
|
libshims_fingerprint.oplus
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||||
|
|||||||
@@ -60,6 +60,12 @@ fi
|
|||||||
|
|
||||||
function blob_fixup() {
|
function blob_fixup() {
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
|
odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service)
|
||||||
|
"${PATCHELF}" --add-needed libshims_fingerprint.oplus.so "${2}"
|
||||||
|
;;
|
||||||
|
odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml)
|
||||||
|
sed -ni "/android.hardware.biometrics.fingerprint/{x;s/hal format/hal override=\"true\" format/;x};x;1!p;\${x;p}" "${2}"
|
||||||
|
;;
|
||||||
product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml)
|
product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml)
|
||||||
sed -i "s/\/my_product/\/product/" "${2}"
|
sed -i "s/\/my_product/\/product/" "${2}"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user