Log hinge angle during unfold animation
This makes the received hinge angle always available in traces. Test: Manual Bug: 278049876 Change-Id: I3b23836143c40ee52d07a76e632079beeec1527a
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user