From 48310107f03a5dda389ea7901aa84df49707fc6a Mon Sep 17 00:00:00 2001 From: Erfan Abdi Date: Sat, 30 Jun 2018 00:55:45 +0430 Subject: sdm660-common: disable qemu.hw.mainkeys setprop We are enabling software navigation bar using overlay. Thus, this is not required. Not to mention, this causes SELinux denials as well. [ 8.853895] selinux: avc: denied { set } for property=qemu.hw.mainkeys pid=1262 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 Signed-off-by: Erfan Abdi Change-Id: I36473bb7b5e2c22cbc60b96d0fab0f4446314701 --- rootdir/etc/init.qcom.sh | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'rootdir/etc') diff --git a/rootdir/etc/init.qcom.sh b/rootdir/etc/init.qcom.sh index 02c0394..58dd93d 100644 --- a/rootdir/etc/init.qcom.sh +++ b/rootdir/etc/init.qcom.sh @@ -216,25 +216,6 @@ case "$target" in else hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform` fi - - case "$soc_id" in - "317" | "324" | "325" | "326" | "318" | "327" ) - case "$hw_platform" in - "Surf") - setprop qemu.hw.mainkeys 0 - ;; - "MTP") - setprop qemu.hw.mainkeys 0 - ;; - "RCM") - setprop qemu.hw.mainkeys 0 - ;; - "QRD") - setprop qemu.hw.mainkeys 0 - ;; - esac - ;; - esac start_msm_irqbalance660 ;; "apq8084") -- cgit v1.2.3