зеркало из https://github.com/mozilla/pjs.git
Bug 752674 - device proximity needs y and z values. r=blassey
This commit is contained in:
Родитель
eef17b0082
Коммит
e8bf57a731
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче