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

Commit 6f96ee95 authored by Nicolò Mazzucato's avatar Nicolò Mazzucato Committed by Automerger Merge Worker
Browse files

Merge "Log hinge angle during unfold animation" into udc-dev am: 69e95f29

parents 0f44f3ce 69e95f29
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