Skip to content
Snippets Groups Projects
Commit f226bb1f authored by Jack Yu's avatar Jack Yu Committed by android-build-team Robot
Browse files

Set default polling mask and p2p listen mask

If mask is not specified in config file, all techs will be enabled by
default.
But some NFCC does not support all techs and cause NFC stack continuously crash.

Bug:137234543
Test: Manual
Change-Id: I227ed1b468f5b84304d92faeee27643d4ec24fbd
(cherry picked from commit e6c742033e60e474040dedcf29b8eba974f94692)
parent ea787d8c
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ SCREEN_OFF_POWER_STATE=1
# NFA_TECHNOLOGY_MASK_KOVIO 0x20 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */
# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */
#POLLING_TECH_MASK=0xEF
POLLING_TECH_MASK=0x2F
###############################################################################
# Force P2P to only listen for the following technology(s).
......@@ -48,7 +48,7 @@ SCREEN_OFF_POWER_STATE=1
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */
# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */
#P2P_LISTEN_TECH_MASK=0xC5
P2P_LISTEN_TECH_MASK=0x00
###############################################################################
# Force UICC to only listen to the following technology(s).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment