diff --git a/legacy/zuma/vendor/hal_nfc_default.te b/legacy/zuma/vendor/hal_nfc_default.te index d71d9e2..dbf6c93 100644 --- a/legacy/zuma/vendor/hal_nfc_default.te +++ b/legacy/zuma/vendor/hal_nfc_default.te @@ -1,5 +1,7 @@ # HAL NFC property -get_prop(hal_nfc_default, vendor_nfc_prop) +set_prop(hal_nfc_default, vendor_nfc_prop) +set_prop(hal_nfc_default, vendor_nfc_antenna_prop) +get_prop(untrusted_app, vendor_nfc_antenna_prop) # SecureElement property set_prop(hal_nfc_default, vendor_secure_element_prop) diff --git a/tracking_denials/property.te b/tracking_denials/property.te index c1a95d6..1ce323c 100644 --- a/tracking_denials/property.te +++ b/tracking_denials/property.te @@ -1,6 +1,7 @@ # b/314065301 vendor_internal_prop(vendor_nfc_prop) +vendor_restricted_prop(vendor_nfc_antenna_prop) vendor_internal_prop(vendor_battery_profile_prop) vendor_internal_prop(vendor_camera_fatp_prop) vendor_internal_prop(vendor_display_prop) diff --git a/vendor/property_contexts b/vendor/property_contexts index c3402ac..8625439 100644 --- a/vendor/property_contexts +++ b/vendor/property_contexts @@ -5,6 +5,10 @@ vendor.usb. u:object_r:vendor_usb_config_prop:s0 # SecureElement persist.vendor.se. u:object_r:vendor_secure_element_prop:s0 +# NFC +persist.vendor.nfc. u:object_r:vendor_nfc_prop:s0 +persist.vendor.nfc.antenna. u:object_r:vendor_nfc_antenna_prop:s0 + # vendor default ro.vendor.sys. u:object_r:vendor_ro_sys_default_prop:s0 persist.vendor.sys. u:object_r:vendor_persist_sys_default_prop:s0