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

Commit 69e95f29 authored by Nicolò Mazzucato's avatar Nicolò Mazzucato Committed by Android (Google) Code Review
Browse files

Merge "Log hinge angle during unfold animation" into udc-dev

parents c1e24e10 4c755caf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,8 +122,8 @@ constructor(
                    "lastHingeAngle: $lastHingeAngle, " +
                    "lastHingeAngleBeforeTransition: $lastHingeAngleBeforeTransition"
            )
            Trace.setCounter("hinge_angle", angle.toLong())
        }
        Trace.setCounter("DeviceFoldStateProvider#onHingeAngle", angle.toLong())

        val currentDirection =
                if (angle < lastHingeAngle) FOLD_UPDATE_START_CLOSING else FOLD_UPDATE_START_OPENING