Add context for ro.product.property_source_order
Any partitions should be able to write this property with build.prop. This adds a new context for ro.product.property_source_order so it can be set from any build.prop, e.g. vendor/build.prop, product/build.prop, etc. Bug: 172459064 Test: PRODUCT_VENDOR_PROPERTIES can set this property Change-Id: Ibf85a4ad02d8454f621428b271e8e298067aa126
This commit is contained in:
parent
fce6c327ad
commit
9985566221
4 changed files with 13 additions and 0 deletions
|
@ -1299,6 +1299,7 @@
|
|||
(typeattributeset default_android_vndservice_30_0 (default_android_vndservice))
|
||||
(typeattributeset default_prop_30_0 (
|
||||
default_prop
|
||||
build_config_prop
|
||||
init_service_status_private_prop
|
||||
setupwizard_prop
|
||||
verity_status_prop
|
||||
|
|
|
@ -515,3 +515,11 @@ neverallow {
|
|||
neverallow {
|
||||
-init
|
||||
} setupwizard_prop:property_service set;
|
||||
|
||||
# ro.product.property_source_order is useless after initialization of ro.product.* props.
|
||||
# So making it accessible only from init and vendor_init.
|
||||
neverallow {
|
||||
-init
|
||||
-dumpstate
|
||||
-vendor_init
|
||||
} build_config_prop:file no_rw_file_perms;
|
||||
|
|
|
@ -787,6 +787,9 @@ ro.product.bootimage.manufacturer u:object_r:build_bootimage_prop:s0 exact strin
|
|||
ro.product.bootimage.model u:object_r:build_bootimage_prop:s0 exact string
|
||||
ro.product.bootimage.name u:object_r:build_bootimage_prop:s0 exact string
|
||||
|
||||
# ro.product.property_source_order is settable from any build.prop
|
||||
ro.product.property_source_order u:object_r:build_config_prop:s0 exact string
|
||||
|
||||
ro.crypto.state u:object_r:vold_status_prop:s0 exact enum encrypted unencrypted unsupported
|
||||
ro.crypto.type u:object_r:vold_status_prop:s0 exact enum block file none
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@ compatible_property_only(`
|
|||
system_vendor_config_prop(aaudio_config_prop)
|
||||
system_vendor_config_prop(apk_verity_prop)
|
||||
system_vendor_config_prop(audio_config_prop)
|
||||
system_vendor_config_prop(build_config_prop)
|
||||
system_vendor_config_prop(build_odm_prop)
|
||||
system_vendor_config_prop(build_vendor_prop)
|
||||
system_vendor_config_prop(camera_calibration_prop)
|
||||
|
|
Loading…
Reference in a new issue