Add 2 new system properties for Quick Start am: a574060586
am: 0afd410d15
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2636990 Change-Id: Ie05142dc1ef4d0a30126f615575ca6d0e325497e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
f156451f32
4 changed files with 11 additions and 0 deletions
|
@ -59,6 +59,7 @@
|
|||
persist_sysui_builder_extras_prop
|
||||
persist_sysui_ranking_update_prop
|
||||
prng_seeder
|
||||
quick_start_prop
|
||||
recovery_usb_config_prop
|
||||
remote_provisioning_service
|
||||
rkpdapp
|
||||
|
|
|
@ -152,6 +152,11 @@ get_prop(gmscore_app, dck_prop)
|
|||
# Allow GMSCore to read RKP properties for the purpose of GTS testing.
|
||||
get_prop(gmscore_app, remote_prov_prop)
|
||||
|
||||
# Allow GmsCore to read Quick Start properties and prevent access from other
|
||||
# policies.
|
||||
get_prop(gmscore_app, quick_start_prop)
|
||||
neverallow { domain -init -dumpstate -vendor_init -gmscore_app } quick_start_prop:file no_rw_file_perms;
|
||||
|
||||
# Do not allow getting permission-protected network information from sysfs.
|
||||
neverallow gmscore_app sysfs_net:file *;
|
||||
|
||||
|
|
|
@ -1565,3 +1565,7 @@ ro.usb.uvc.enabled u:object_r:usb_uvc_enabled_prop:s0 exact bool
|
|||
# System UI notification properties
|
||||
persist.sysui.notification.ranking_update_ashmem u:object_r:persist_sysui_ranking_update_prop:s0 exact bool
|
||||
persist.sysui.notification.builder_extras_override u:object_r:persist_sysui_builder_extras_prop:s0 exact bool
|
||||
|
||||
# Properties for Quick Start setup.
|
||||
ro.quick_start.oem_id u:object_r:quick_start_prop:s0 exact string
|
||||
ro.quick_start.device_id u:object_r:quick_start_prop:s0 exact string
|
||||
|
|
|
@ -169,6 +169,7 @@ system_vendor_config_prop(mm_events_config_prop)
|
|||
system_vendor_config_prop(oem_unlock_prop)
|
||||
system_vendor_config_prop(ota_build_prop)
|
||||
system_vendor_config_prop(packagemanager_config_prop)
|
||||
system_vendor_config_prop(quick_start_prop)
|
||||
system_vendor_config_prop(recovery_config_prop)
|
||||
system_vendor_config_prop(recovery_usb_config_prop)
|
||||
system_vendor_config_prop(sendbug_config_prop)
|
||||
|
|
Loading…
Reference in a new issue