Bug 1246949: Sort out and ignore events with unknown types
Bug 1246949: Sort out and ignore events with unknown types

This patch adds stricter checks for unknown event types. If we see an
event with an unknown type, we ignore the event.

mozilla-b2g/platform_system_sensorsd