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

This commit is contained in:
Nicolò Mazzucato
2023-04-14 14:01:57 +00:00
committed by Android (Google) Code Review

View File

@@ -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