Avoid changing transform when touching in progress
After swiping from a landscape app to portrait home, the touch orientation may be changed if there the touch event comes in a short time (e.g. click app icon immediately): DOWN MOVE... SimpleOrientationTouchTransformer#onDisplayInfoChanged MOVE... (start to transform with inconsistent orientation) UP That could disturb the gesture detection: OverviewInputConsumer#onMotionEvent > BaseDragLayer#proxyTouchEvent onInterceptTouchEvent, findControllerToHandleTouch > PortraitStatesTouchController#onControllerInterceptTouchEvent > BaseSwipeDetector#onTouchEvent which may show the app drawer unexpectedly. http://recall/-/b2qm27pJZxFIWQccA9qE9Q/ggLXlE5kf7AWMOjUc0FCUU Bug: 351755391 Flag: EXEMPT bugfix Test: atest NexusLauncherTests: \ com.android.quickstep.OrientationTouchTransformerTest# \ testSimpleOrientationTouchTransformer Change-Id: Ic0e9d8292606837feb4775663abb60229c90e9c5
Loading
Please register or sign in to comment