Merge "Allow XML file paths to be customized with sysprop"
This commit is contained in:
commit
fa4a015fa1
7 changed files with 18 additions and 0 deletions
|
@ -145,6 +145,9 @@ ro.telephony.default_network u:object_r:exported3_default_prop:s0 exact string
|
|||
ro.url.legal u:object_r:exported3_default_prop:s0 exact string
|
||||
ro.url.legal.android_privacy u:object_r:exported3_default_prop:s0 exact string
|
||||
ro.vendor.build.security_patch u:object_r:vendor_security_patch_level_prop:s0 exact string
|
||||
ro.media.xml_variant.codecs u:object_r:media_variant_prop:s0 exact string
|
||||
ro.media.xml_variant.codecs_performance u:object_r:media_variant_prop:s0 exact string
|
||||
ro.media.xml_variant.profiles u:object_r:media_variant_prop:s0 exact string
|
||||
ro.zram.mark_idle_delay_mins u:object_r:exported3_default_prop:s0 exact int
|
||||
ro.zram.first_wb_delay_mins u:object_r:exported3_default_prop:s0 exact int
|
||||
ro.zram.periodic_wb_delay_hours u:object_r:exported3_default_prop:s0 exact int
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
mirror_data_file
|
||||
light_service
|
||||
linkerconfig_file
|
||||
media_variant_prop
|
||||
metadata_bootstat_file
|
||||
mnt_pass_through_file
|
||||
mock_ota_prop
|
||||
|
|
|
@ -428,6 +428,10 @@ ro.lmk.thrashing_limit_decay u:object_r:exported3_default_prop:s0 exact int
|
|||
ro.lmk.use_minfree_levels u:object_r:exported3_default_prop:s0 exact bool
|
||||
ro.lmk.upgrade_pressure u:object_r:exported3_default_prop:s0 exact int
|
||||
|
||||
ro.media.xml_variant.codecs u:object_r:media_variant_prop:s0 exact string
|
||||
ro.media.xml_variant.codecs_performance u:object_r:media_variant_prop:s0 exact string
|
||||
ro.media.xml_variant.profiles u:object_r:media_variant_prop:s0 exact string
|
||||
|
||||
ro.minui.default_rotation u:object_r:exported3_default_prop:s0 exact string
|
||||
ro.minui.overscan_percent u:object_r:exported3_default_prop:s0 exact int
|
||||
ro.minui.pixel_format u:object_r:exported3_default_prop:s0 exact string
|
||||
|
|
|
@ -193,6 +193,9 @@ allow zygote system_server:fd use;
|
|||
# Send unsolicited message to system_server
|
||||
unix_socket_send(zygote, system_unsolzygote, system_server)
|
||||
|
||||
# Allow zygote to access media_variant_prop for static initialization
|
||||
get_prop(zygote, media_variant_prop)
|
||||
|
||||
###
|
||||
### neverallow rules
|
||||
###
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
get_prop(hal_codec2_client, media_variant_prop)
|
||||
get_prop(hal_codec2_server, media_variant_prop)
|
||||
|
||||
binder_call(hal_codec2_client, hal_codec2_server)
|
||||
binder_call(hal_codec2_server, hal_codec2_client)
|
||||
|
||||
|
|
|
@ -22,6 +22,9 @@ hal_attribute_hwservice(hal_omx, hal_omx_hwservice)
|
|||
|
||||
allow hal_omx_client hidl_token_hwservice:hwservice_manager find;
|
||||
|
||||
get_prop(hal_omx_client, media_variant_prop)
|
||||
get_prop(hal_omx_server, media_variant_prop)
|
||||
|
||||
binder_call(hal_omx_client, hal_omx_server)
|
||||
binder_call(hal_omx_server, hal_omx_client)
|
||||
|
||||
|
|
|
@ -117,6 +117,7 @@ system_vendor_config_prop(exported_camera_prop)
|
|||
system_vendor_config_prop(exported_config_prop)
|
||||
system_vendor_config_prop(exported_default_prop)
|
||||
system_vendor_config_prop(exported3_default_prop)
|
||||
system_vendor_config_prop(media_variant_prop)
|
||||
system_vendor_config_prop(userspace_reboot_config_prop)
|
||||
system_vendor_config_prop(vehicle_hal_prop)
|
||||
system_vendor_config_prop(vendor_security_patch_level_prop)
|
||||
|
|
Loading…
Reference in a new issue