summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Yu <jackcwyu@google.com>2021-02-05 10:52:53 +0800
committerJack Yu <jackcwyu@google.com>2021-02-05 10:52:53 +0800
commitfde65019551772a3b551c027cefdac2771ba7417 (patch)
tree5e5830d98b24ef3ba1f456378f00c0debeaabf9d
parentef683982ac978b89793d8caa4948a579feac2d8d (diff)
downloadbonito-fde65019551772a3b551c027cefdac2771ba7417.tar.gz
Switch nfc recovery mechanism to toggle nfc stateandroid-s-preview-1
Set nfc RECOVERY_OPTION in libnfc-nci.conf. Bug: 153704838 Test: build pass Change-Id: I76d87aa2184f383e784c39a1eb021d7a9a00ae2c
-rw-r--r--nfc/libnfc-nci.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/nfc/libnfc-nci.conf b/nfc/libnfc-nci.conf
index e17401a6..90dcbe74 100644
--- a/nfc/libnfc-nci.conf
+++ b/nfc/libnfc-nci.conf
@@ -96,3 +96,9 @@ OFFHOST_AID_ROUTE_PWR_STATE=0x3B
# 0: General implementation
# 1: Legacy implementation
LEGACY_MIFARE_READER=0
+
+###############################################################################
+# Nfc recovery implementation
+# 0: Crash Nfc Service
+# 1: Toggle Nfc state
+RECOVERY_OPTION=1