Bug 752674 - device proximity needs y and z values. r=blassey

This commit is contained in:
Doug Turner 2012-05-08 20:56:54 -07:00
parent 882e9642c4
commit 508b5e26f9

View File

@ -329,13 +329,13 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
case hal::SENSOR_LINEAR_ACCELERATION:
case hal::SENSOR_ACCELERATION:
case hal::SENSOR_GYROSCOPE:
case hal::SENSOR_PROXIMITY:
values.AppendElement(curEvent->X());
values.AppendElement(curEvent->Y());
values.AppendElement(curEvent->Z());
break;
case hal::SENSOR_LIGHT:
case hal::SENSOR_PROXIMITY:
values.AppendElement(curEvent->X());
break;