Merge "Add a new system property persist.graphics.egl" am: b011ba5ffb
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2529329 Change-Id: Idde1377bf03759d3a47dc32a9ba3a646e956c2bd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
2ec8d6d9f6
5 changed files with 8 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
fwk_camera_service
|
||||
fwk_sensor_service
|
||||
grammatical_inflection_service
|
||||
graphics_config_writable_prop
|
||||
hal_bluetooth_service
|
||||
hal_bootctl_service
|
||||
hal_cas_service
|
||||
|
|
|
@ -6,6 +6,7 @@ get_prop(coredomain, dalvik_runtime_prop)
|
|||
get_prop(coredomain, exported_pm_prop)
|
||||
get_prop(coredomain, ffs_config_prop)
|
||||
get_prop(coredomain, graphics_config_prop)
|
||||
get_prop(coredomain, graphics_config_writable_prop)
|
||||
get_prop(coredomain, hdmi_config_prop)
|
||||
get_prop(coredomain, init_service_status_private_prop)
|
||||
get_prop(coredomain, lmkd_config_prop)
|
||||
|
|
|
@ -61,5 +61,8 @@ allow gpuservice bpfloader:bpf { map_read map_write prog_run };
|
|||
|
||||
add_service(gpuservice, gpu_service)
|
||||
|
||||
# Needed for enabling write access to persist.graphics.egl from developer option switch UI, through gpuservice.
|
||||
set_prop(gpuservice, graphics_config_writable_prop)
|
||||
|
||||
# Only uncomment below line when in development
|
||||
# userdebug_or_eng(`permissive gpuservice;')
|
||||
|
|
|
@ -1393,6 +1393,7 @@ ro.gfx.driver_build_time u:object_r:graphics_config_prop:s0 exact int
|
|||
|
||||
graphics.gpu.profiler.support u:object_r:graphics_config_prop:s0 exact bool
|
||||
graphics.gpu.profiler.vulkan_layer_apk u:object_r:graphics_config_prop:s0 exact string
|
||||
persist.graphics.egl u:object_r:graphics_config_writable_prop:s0 exact string
|
||||
|
||||
ro.cpuvulkan.version u:object_r:graphics_config_prop:s0 exact int
|
||||
|
||||
|
|
|
@ -101,6 +101,8 @@ system_restricted_prop(usb_prop)
|
|||
system_restricted_prop(userspace_reboot_exported_prop)
|
||||
system_restricted_prop(vold_status_prop)
|
||||
system_restricted_prop(vts_status_prop)
|
||||
system_restricted_prop(graphics_config_writable_prop)
|
||||
|
||||
|
||||
compatible_property_only(`
|
||||
# DO NOT ADD ANY PROPERTIES HERE
|
||||
|
|
Loading…
Reference in a new issue