summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/init_shell.te1
-rw-r--r--common/property.te2
-rw-r--r--common/property_contexts1
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