Merge "Allow graphics_config_writable_prop to be modified."
This commit is contained in:
commit
10c06cea0d
4 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,8 @@ add_service(gpuservice, gpu_service)
|
||||||
# Needed for enabling write access to persist.graphics.egl from developer option switch UI, through gpuservice.
|
# Needed for enabling write access to persist.graphics.egl from developer option switch UI, through gpuservice.
|
||||||
set_prop(gpuservice, graphics_config_writable_prop)
|
set_prop(gpuservice, graphics_config_writable_prop)
|
||||||
|
|
||||||
|
neverallow { domain -init -vendor_init -gpuservice } graphics_config_writable_prop:property_service set;
|
||||||
|
|
||||||
# Needed for querying permission
|
# Needed for querying permission
|
||||||
allow gpuservice permission_service:service_manager find;
|
allow gpuservice permission_service:service_manager find;
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,6 @@ system_restricted_prop(usb_prop)
|
||||||
system_restricted_prop(userspace_reboot_exported_prop)
|
system_restricted_prop(userspace_reboot_exported_prop)
|
||||||
system_restricted_prop(vold_status_prop)
|
system_restricted_prop(vold_status_prop)
|
||||||
system_restricted_prop(vts_status_prop)
|
system_restricted_prop(vts_status_prop)
|
||||||
system_restricted_prop(graphics_config_writable_prop)
|
|
||||||
|
|
||||||
|
|
||||||
compatible_property_only(`
|
compatible_property_only(`
|
||||||
|
@ -224,6 +223,7 @@ system_public_prop(future_pm_prop)
|
||||||
system_public_prop(ffs_control_prop)
|
system_public_prop(ffs_control_prop)
|
||||||
system_public_prop(framework_status_prop)
|
system_public_prop(framework_status_prop)
|
||||||
system_public_prop(gesture_prop)
|
system_public_prop(gesture_prop)
|
||||||
|
system_public_prop(graphics_config_writable_prop)
|
||||||
system_public_prop(hal_dumpstate_config_prop)
|
system_public_prop(hal_dumpstate_config_prop)
|
||||||
system_public_prop(sota_prop)
|
system_public_prop(sota_prop)
|
||||||
system_public_prop(hwservicemanager_prop)
|
system_public_prop(hwservicemanager_prop)
|
||||||
|
|
|
@ -251,6 +251,7 @@ set_prop(vendor_init, lmkd_prop)
|
||||||
set_prop(vendor_init, logd_prop)
|
set_prop(vendor_init, logd_prop)
|
||||||
set_prop(vendor_init, log_tag_prop)
|
set_prop(vendor_init, log_tag_prop)
|
||||||
set_prop(vendor_init, log_prop)
|
set_prop(vendor_init, log_prop)
|
||||||
|
set_prop(vendor_init, graphics_config_writable_prop)
|
||||||
set_prop(vendor_init, qemu_hw_prop)
|
set_prop(vendor_init, qemu_hw_prop)
|
||||||
set_prop(vendor_init, radio_control_prop)
|
set_prop(vendor_init, radio_control_prop)
|
||||||
set_prop(vendor_init, rebootescrow_hal_prop)
|
set_prop(vendor_init, rebootescrow_hal_prop)
|
||||||
|
|
1
vendor/hal_camera_default.te
vendored
1
vendor/hal_camera_default.te
vendored
|
@ -13,6 +13,7 @@ get_prop(hal_camera_default, device_config_camera_native_prop);
|
||||||
|
|
||||||
# Allow reading graphics properties, specifically for EGL blobcache mode
|
# Allow reading graphics properties, specifically for EGL blobcache mode
|
||||||
get_prop(hal_camera_default, graphics_config_prop);
|
get_prop(hal_camera_default, graphics_config_prop);
|
||||||
|
get_prop(hal_camera_default, graphics_config_writable_prop);
|
||||||
|
|
||||||
# For collecting bugreports.
|
# For collecting bugreports.
|
||||||
allow hal_camera_default dumpstate:fd use;
|
allow hal_camera_default dumpstate:fd use;
|
||||||
|
|
Loading…
Reference in a new issue