Merge "Update sepolicy for nfc antenna selftest values" into main

This commit is contained in:
Treehugger Robot 2024-09-24 07:34:38 +00:00 committed by Android (Google) Code Review
commit cd06811f33
3 changed files with 8 additions and 1 deletions

View file

@ -1,4 +1,6 @@
# Vendor
vendor_internal_prop(vendor_nfc_prop)
vendor_restricted_prop(vendor_nfc_antenna_prop)
vendor_internal_prop(vendor_secure_element_prop)
vendor_internal_prop(vendor_battery_profile_prop)
vendor_internal_prop(vendor_camera_prop)

View file

@ -3,6 +3,7 @@ persist.vendor.testing_battery_profile u:object_r:vendor_battery_profile_pro
# NFC
persist.vendor.nfc. u:object_r:vendor_nfc_prop:s0
persist.vendor.nfc.antenna. u:object_r:vendor_nfc_antenna_prop:s0
# SecureElement
persist.vendor.se. u:object_r:vendor_secure_element_prop:s0

View file

@ -1,5 +1,9 @@
# 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)
userdebug_or_eng(
get_prop(untrusted_app, vendor_nfc_antenna_prop)
)
# SecureElement property
set_prop(hal_nfc_default, vendor_secure_element_prop)