Add DCK eligibility properties

Bug: 186488185
Test: Confirm GMSCore access
Change-Id: I20baf5c9ae9fbebc9e43d2798401ad49776fb74a
This commit is contained in:
Michael Ayoubi 2021-05-21 01:06:03 +00:00
parent a1be68e451
commit 77c10eff1e
5 changed files with 10 additions and 0 deletions

View file

@ -27,6 +27,7 @@
cgroup_v2
codec2_config_prop
ctl_snapuserd_prop
dck_prop
debugfs_kprobes
debugfs_mm_events_tracing
debugfs_bootreceiver_tracing

View file

@ -135,3 +135,6 @@ allow gmscore_app priv_app:tcp_socket { read write };
# b/168059475 Allow GMSCore to read Virtual AB properties to determine
# if device supports VAB.
get_prop(gmscore_app, virtual_ab_prop)
# b/186488185: Allow GMSCore to read dck properties
get_prop(gmscore_app, dck_prop)

View file

@ -1189,3 +1189,7 @@ persist.rollback.is_test u:object_r:rollback_test_prop:s0 exact bool
# bootanimation properties
ro.bootanim.quiescent.enabled u:object_r:bootanim_config_prop:s0 exact bool
# dck properties
ro.gms.dck.eligible_r2 u:object_r:dck_prop:s0 exact bool
ro.gms.dck.eligible_r3 u:object_r:dck_prop:s0 exact bool

View file

@ -169,6 +169,7 @@ system_vendor_config_prop(vold_config_prop)
system_vendor_config_prop(wifi_config_prop)
system_vendor_config_prop(zram_config_prop)
system_vendor_config_prop(zygote_config_prop)
system_vendor_config_prop(dck_prop)
# Properties with no restrictions
system_public_prop(adbd_config_prop)

View file

@ -262,6 +262,7 @@ get_prop(vendor_init, retaildemo_prop)
get_prop(vendor_init, surfaceflinger_display_prop)
get_prop(vendor_init, test_harness_prop)
get_prop(vendor_init, theme_prop)
set_prop(vendor_init, dck_prop)
###