diff options
author | Ananta Kishore K <akollipa@codeaurora.org> | 2016-08-19 18:13:33 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-30 04:11:01 -0700 |
commit | 8ce8aa5343028414884fe702b9498fc15c5ab53b (patch) | |
tree | 2cba91aabccd6f220c7d7c87cdcb76fef1c0d439 | |
parent | 21fbf4af6061a34690ff82d48f8645eac570d679 (diff) | |
download | android_device_qcom_sepolicy-8ce8aa5343028414884fe702b9498fc15c5ab53b.tar.gz android_device_qcom_sepolicy-8ce8aa5343028414884fe702b9498fc15c5ab53b.tar.bz2 android_device_qcom_sepolicy-8ce8aa5343028414884fe702b9498fc15c5ab53b.zip |
sepolicy: Policy for graphics vulkan
Add policy to allow enable or disable of graphics vulkan features
CRs-Fixed: 1057609
Change-Id: I1fedc217b31e0a2dc9dd5e34e82cd2ccca2df8f2
-rw-r--r-- | common/init_shell.te | 1 | ||||
-rw-r--r-- | common/property.te | 2 | ||||
-rw-r--r-- | common/property_contexts | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/common/init_shell.te b/common/init_shell.te index f38b7010..bc88f3b1 100644 --- a/common/init_shell.te +++ b/common/init_shell.te @@ -96,6 +96,7 @@ allow qti_init_shell { sys_usb_configfs_prop #Needed for setting hwui properties in post_boot hwui_prop + graphics_vulkan_prop }:property_service set; allow qti_init_shell efs_boot_dev:blk_file r_file_perms; diff --git a/common/property.te b/common/property.te index 950f2007..0ccfff9b 100644 --- a/common/property.te +++ b/common/property.te @@ -88,3 +88,5 @@ type alarm_instance_prop, property_type, core_property_type; #HWUI property type hwui_prop, property_type, core_property_type; + +type graphics_vulkan_prop, property_type, core_property_type; diff --git a/common/property_contexts b/common/property_contexts index 2468d8d8..e50507a5 100644 --- a/common/property_contexts +++ b/common/property_contexts @@ -80,3 +80,4 @@ ro.alarm_handled u:object_r:alarm_handled_prop:s0 ro.alarm_instance u:object_r:alarm_instance_prop:s0 #HWUI Property ro.hwui.texture_cache_size u:object_r:hwui_prop:s0 +persist.graphics.vulkan.disable u:object_r:graphics_vulkan_prop:s0 |