Merge "device: common: add navigation bar for MSMTITANIUM"

This commit is contained in:
Linux Build Service Account 2015-12-24 05:52:25 -08:00 committed by Gerrit - the friendly Code Review server
commit 68ec810f43
1 changed files with 28 additions and 0 deletions

View File

@ -275,6 +275,34 @@ case "$target" in
;;
esac
;;
"titanium")
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/hw_platform ]; then
hw_platform=`cat /sys/devices/soc0/hw_platform`
else
hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform`
fi
case "$soc_id" in
"293")
case "$hw_platform" in
"Surf")
setprop qemu.hw.mainkeys 0
;;
"MTP")
setprop qemu.hw.mainkeys 0
;;
"RCM")
setprop qemu.hw.mainkeys 0
;;
esac
;;
esac
;;
esac
bootmode=`getprop ro.bootmode`