diff options
author | Erfan Abdi <erfangplus@gmail.com> | 2018-06-30 00:55:45 +0430 |
---|---|---|
committer | Sebastiano Barezzi <barezzisebastiano@gmail.com> | 2020-12-17 11:06:31 +0100 |
commit | 48310107f03a5dda389ea7901aa84df49707fc6a (patch) | |
tree | 86cf292906176cd363b901e06b93efc7b8e8d0a0 /rootdir | |
parent | 3e546c905fd6832aaaf4be39ff3bd20c4c96883a (diff) |
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 <erfangplus@gmail.com>
Change-Id: I36473bb7b5e2c22cbc60b96d0fab0f4446314701
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/etc/init.qcom.sh | 19 |
1 files changed, 0 insertions, 19 deletions
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") |