Remove the occasionally crashy MotionEvent logging.

Bug: 230097019
Test: mp sysuig. Swipe back in various places and make sure nothing crashes.
Change-Id: I54dfaff912e12205fb5b6ca9b8a8fa4682e2e05b
This commit is contained in:
Shan Huang
2022-04-22 17:27:25 +00:00
parent 6585242e3e
commit ab2fc4970b

View File

@@ -211,7 +211,8 @@ public class BackAnimationController implements RemoteCallable<BackAnimationCont
} else if (action == MotionEvent.ACTION_MOVE) {
onMove(event, swipeEdge);
} else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
ProtoLog.d(WM_SHELL_BACK_PREVIEW, "Finishing gesture with event: %s", event);
ProtoLog.d(WM_SHELL_BACK_PREVIEW,
"Finishing gesture with event action: %d", action);
onGestureFinished();
}
}