Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd7f3bb5 authored by Rocky Fang's avatar Rocky Fang
Browse files

Fix the documentation of the SensorManager.getOrientation() method.

Test: N/A
Flag: EXEMPT comment only
Bug: 297027938
Bug: 326578839
Change-Id: I95218ff691c22dc8d1e1b1be725a0d64ca5e2f02
parent f18970e1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1469,7 +1469,7 @@ public abstract class SensorManager {
     *                Likewise, when facing east, this angle is π/2, and
     *                when facing west, this angle is -π/2. The range of
     *                values is -&pi; to &pi;.</li>
     * <li>values[1]: <i>Pitch</i>, angle of rotation about the x axis.
     * <li>values[1]: <i>Pitch</i>, angle of rotation about the -x axis.
     *                This value represents the angle between a plane parallel
     *                to the device's screen and a plane parallel to the ground.
     *                Assuming that the bottom edge of the device faces the
@@ -1480,7 +1480,7 @@ public abstract class SensorManager {
     *                value represents the angle between a plane perpendicular
     *                to the device's screen and a plane perpendicular to the
     *                ground. Assuming that the bottom edge of the device faces
     *                the user and that the screen is face-up, tilting the left
     *                the user and that the screen is face-up, tilting the right
     *                edge of the device toward the ground creates a positive
     *                roll angle. The range of values is -&pi; to &pi;.</li>
     * </ul>