Merge "Revert "Sensor service: Check for dsps device node to start sensor service""

This commit is contained in:
Linux Build Service Account 2012-10-22 19:44:42 -07:00 committed by Gerrit - the friendly Code Review server
commit 07df8dc798
1 changed files with 11 additions and 13 deletions

View File

@ -33,7 +33,6 @@ target=`getprop ro.board.platform`
#
start_sensors()
{
if [ -c /dev/msm_dsps ]; then
mkdir -p /data/system/sensors
touch /data/system/sensors/settings
chmod 775 /data/system/sensors
@ -48,7 +47,6 @@ start_sensors()
echo 1 > /data/system/sensors/settings
fi
start sensors
fi
}
start_battery_monitor()