DescriptionAdditions to the Android java-side Device Motion/Orientation fetching
A number of small modifications/improvements:
- add a getNumberActiveMotionSensors() to determine how many sensors could actually be activated for device motion
- make sure that the orientation events are only fired when the appropriate sensors change
- rename mAccelerationVector to mAccelerationIncludingGravityVector
BUG=135804
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206091
Patch Set 1 #
Total comments: 6
Patch Set 2 : fixed comments from Marcus #
Messages
Total messages: 5 (0 generated)
|