summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpiritCroc <dev@spiritcroc.de>2019-01-15 10:18:48 +0100
committerSpiritCroc <dev@spiritcroc.de>2019-01-15 10:39:36 +0100
commit7fc0f196d86403561b3c6a0cc4846d025c3d25b5 (patch)
treeddb2a45800baf150ce2ab53e9601b2a6762a4b5e
parent259ca31bb38fec8c890283a6786aef61ff1008af (diff)
Revert "Remove vendor se-labelling of AOSP's qemu.hw.mainkeys prop."
This reverts commit 2206d8ca3ff0d3dde5afc9df9de3b45f324c3721. Change-Id: I52d950ce93c37fc592a3ae5e7087f4872a24204a
-rw-r--r--common/init_shell.te1
-rw-r--r--common/property_contexts1
-rw-r--r--common/system_server.te1
3 files changed, 3 insertions, 0 deletions
diff --git a/common/init_shell.te b/common/init_shell.te
index fb8ee88..9b338aa 100644
--- a/common/init_shell.te
+++ b/common/init_shell.te
@@ -91,6 +91,7 @@ set_prop(qti_init_shell, opengles_prop)
set_prop(qti_init_shell, mdm_helper_prop)
set_prop(qti_init_shell, fm_prop)
set_prop(qti_init_shell, usf_prop)
+set_prop(qti_init_shell, qemu_hw_mainkeys_prop)
set_prop(qti_init_shell, alarm_boot_prop)
set_prop(qti_init_shell, boot_animation_prop)
set_prop(qti_init_shell, debug_gralloc_prop)
diff --git a/common/property_contexts b/common/property_contexts
index acd71c4..073395e 100644
--- a/common/property_contexts
+++ b/common/property_contexts
@@ -72,6 +72,7 @@ persist.rmnet.mux u:object_r:rmnet_mux_prop:s0
sys.usb.controller u:object_r:sys_usb_controller_prop:s0
sys.usb.configfs u:object_r:sys_usb_configfs_prop:s0
sys.usb.tethering u:object_r:sys_usb_tethering_prop:s0
+qemu.hw.mainkeys u:object_r:qemu_hw_mainkeys_prop:s0
ro.dbg.coresight.cfg_file u:object_r:coresight_prop:s0
ctl.hbtp u:object_r:ctl_hbtp_prop:s0
vendor.audio.sys.init u:object_r:audio_prop:s0
diff --git a/common/system_server.te b/common/system_server.te
index 905f8c0..c64455c 100644
--- a/common/system_server.te
+++ b/common/system_server.te
@@ -165,6 +165,7 @@ allow system_server sysfs_graphics:file rw_file_perms;
allow system_server { location_app system_app } :file write;
allow system_server opengles_prop:file r_file_perms;
allow system_server graphics_vulkan_prop:file r_file_perms;
+allow system_server qemu_hw_mainkeys_prop:file r_file_perms;
allow system_server hwui_prop:file r_file_perms;
allow system_server bservice_prop:file r_file_perms;