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
diff --git a/device-oriole.mk b/device-oriole.mk
index 9dd60c2..37a55f4 100644
--- a/device-oriole.mk
+++ b/device-oriole.mk
@@ -138,3 +138,7 @@
# 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
diff --git a/device-raven.mk b/device-raven.mk
index 83dd670..2a689af 100644
--- a/device-raven.mk
+++ b/device-raven.mk
@@ -133,3 +133,7 @@
# 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