Merge "init: qcom: enable Navigation bar for improveTouch platform"
This commit is contained in:
commit
92f3d03f74
|
@ -204,6 +204,31 @@ case "$target" in
|
||||||
"msm8916")
|
"msm8916")
|
||||||
start_vm_bms
|
start_vm_bms
|
||||||
start_msm_irqbalance_8939
|
start_msm_irqbalance_8939
|
||||||
|
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||||
|
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||||
|
else
|
||||||
|
soc_id=`cat /sys/devices/system/soc/soc0/id`
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f /sys/devices/soc0/platform_subtype_id ]; then
|
||||||
|
platform_subtype_id=`cat /sys/devices/soc0/platform_subtype_id`
|
||||||
|
fi
|
||||||
|
if [ -f /sys/devices/soc0/hw_platform ]; then
|
||||||
|
hw_platform=`cat /sys/devices/soc0/hw_platform`
|
||||||
|
fi
|
||||||
|
case "$soc_id" in
|
||||||
|
"239")
|
||||||
|
case "$hw_platform" in
|
||||||
|
"Surf")
|
||||||
|
case "$platform_subtype_id" in
|
||||||
|
"1")
|
||||||
|
setprop qemu.hw.mainkeys 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
"msm8994")
|
"msm8994")
|
||||||
start_msm_irqbalance
|
start_msm_irqbalance
|
||||||
|
|
Loading…
Reference in New Issue