Add DCK eligibility property

Add ro.gms.dck.eligible_wcc system property to
P21 devices.

Usage of ro.gms.dck.eligible_wcc is as follows:
1: NFC only
2: NFC and Bluetooth LE (NFC + RKE Functions)
3: NFC, Bluetooth LE, and UWB (NFC + RKE Functions + Passive/Location-based
   Functions)

Bug: 186488185

Test: Build and flash on R4.
Confirm GMSCore can access the properties.

Signed-off-by: Michael Ayoubi <mayoubi@google.com>
Change-Id: I6641270ede1ac49b517775ce3444306c50bcd78a
This commit is contained in:
Michael Ayoubi 2021-05-25 02:09:47 +00:00
parent a327e42b54
commit ca6b352f10
2 changed files with 8 additions and 0 deletions

View file

@ -138,3 +138,7 @@ PRODUCT_PACKAGES += \
# Fingerprint antispoof property
PRODUCT_PRODUCT_PROPERTIES +=\
persist.vendor.fingerprint.disable.fake.override=none
# DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=2

View file

@ -133,3 +133,7 @@ PRODUCT_PRODUCT_PROPERTIES +=\
# Keyboard side padding in dp for portrait mode
PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_r=11
PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_l=11
# DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=3