summaryrefslogtreecommitdiffstats
path: root/hal/HalSensor.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-11 14:24:50 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-11 14:24:50 +0200
commita95078a6c6c8ed253c5e279c71462d0d45c1aec3 (patch)
treee18cb3acf71dfb2bf8a038c274eccfd6b9070ae0 /hal/HalSensor.h
parent6195a2f1e2f5d693effe172ad1012b3c2eeac777 (diff)
downloadUXP-a95078a6c6c8ed253c5e279c71462d0d45c1aec3.tar
UXP-a95078a6c6c8ed253c5e279c71462d0d45c1aec3.tar.gz
UXP-a95078a6c6c8ed253c5e279c71462d0d45c1aec3.tar.lz
UXP-a95078a6c6c8ed253c5e279c71462d0d45c1aec3.tar.xz
UXP-a95078a6c6c8ed253c5e279c71462d0d45c1aec3.zip
Bug 1469309 - Remove an unused sensor type.
Diffstat (limited to 'hal/HalSensor.h')
-rw-r--r--hal/HalSensor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hal/HalSensor.h b/hal/HalSensor.h
index 551c4271d..5175629c9 100644
--- a/hal/HalSensor.h
+++ b/hal/HalSensor.h
@@ -18,7 +18,6 @@ namespace hal {
* If you add or change any here, do the same in GeckoHalDefines.java.
*/
enum SensorType {
- SENSOR_UNKNOWN = -1,
SENSOR_ORIENTATION = 0,
SENSOR_ACCELERATION = 1,
SENSOR_PROXIMITY = 2,
@@ -63,7 +62,7 @@ namespace IPC {
struct ParamTraits<mozilla::hal::SensorType>:
public ContiguousEnumSerializer<
mozilla::hal::SensorType,
- mozilla::hal::SENSOR_UNKNOWN,
+ mozilla::hal::SENSOR_ORIENTATION,
mozilla::hal::NUM_SENSOR_TYPE> {
};