Skip to content
Snippets Groups Projects
Commit b82f4792 authored by chloedai's avatar chloedai
Browse files

Update CFG file for C10 EVT

Update init.cheetah.rc to make device able to check ro.boot.hardware.revision

Bug: 210755812
Test: Test with C10 proto, pass
Change-Id: Ibdbd43d2c8718d3fe6161f2bf190255daff350ae
parent 4ec6f572
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,13 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
disabled
oneshot
# NFC
on property:ro.boot.hardware.revision=PROTO1.0
setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
on property:ro.boot.hardware.revision=PROTO1.1
setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
# SecureElement eSE2 cts mode
on property:persist.vendor.se.ese2.mode=ctsmode
write /sys/class/st33spi/st33spi/st33spi_state 33
......@@ -61,8 +61,9 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
device/google/pantah/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
device/google/pantah/nfc/libnfc-nci-cheetah.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
device/google/pantah/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
device/google/pantah/nfc/libnfc-hal-st-proto1.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st-proto1.conf \
device/google/pantah/nfc/libnfc-nci-cheetah.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
PRODUCT_PACKAGES += \
NfcNci \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment