Merge "init: qcom: enable Navigation bar for improveTouch platform"

This commit is contained in:
Linux Build Service Account 2014-11-15 03:58:30 -08:00 committed by Gerrit - the friendly Code Review server
commit 92f3d03f74
1 changed files with 25 additions and 0 deletions

View File

@ -204,6 +204,31 @@ case "$target" in
"msm8916")
start_vm_bms
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")
start_msm_irqbalance