According discuss with gonk team, we are now using deviceMotion for tracking the orientation of devices. Therefore, I suggest to use deviceMotion for testing instead of deviceOrientation. https://developer.mozilla.org/en-US/docs/Web/Events/devicemotion
It seems we don't need to replace device orientation. Both of them should work as expect.
Summary: use deviceMotion to replace deviceOrientation → Add device motion to MCTS checking
device acceleration API: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration
Created attachment 8595778 [details] [review] add device_motion checking
Comment on attachment 8595778 [details] [review] add device_motion checking LGTM
Attachment #8595778 - Flags: review?(oouyang) → review+
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Attachment #8595778 - Flags: review?(fyen) → review+
You need to log in before you can comment on or make changes to this bug.