From cfd752f77860a2bf747d4b7d55161d88f4e16af1 Mon Sep 17 00:00:00 2001 From: George Chang Date: Tue, 21 Dec 2021 10:39:31 +0800 Subject: [PATCH] Update C10 EVT NFC CFG base on CDT Loads old cfg for proto and some of the evt. The others loads default cfg. Bug: 210755812 Test: manual Change-Id: Ie892fed0d3e50ed2e1efb7f8ebc9d65bc5c5a63d --- conf/init.cheetah.rc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/conf/init.cheetah.rc b/conf/init.cheetah.rc index 5f011c3..289122f 100644 --- a/conf/init.cheetah.rc +++ b/conf/init.cheetah.rc @@ -80,6 +80,18 @@ on property:ro.boot.hardware.revision=PROTO1.0 on property:ro.boot.hardware.revision=PROTO1.1 setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf +on property:ro.boot.cdt_hwid=0x00030303000100010001000000000000 + setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf + +on property:ro.boot.cdt_hwid=0x00030303000100000000000000000000 + setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf + +on property:ro.boot.cdt_hwid=0x00030303000100000100000000000000 + setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf + +on property:ro.boot.cdt_hwid=0x00030303000100000200000000000000 + 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