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

Commit fb147e12 authored by Fengjiang Li's avatar Fengjiang Li Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE of touch handling in...

Merge "Fix NPE of touch handling in StatusBarTouchController#onControllerInterceptTouchEvent" into main
parents 40804529 87536679
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class StatusBarTouchController implements TouchController {
        if (!mCanIntercept) {
            return false;
        }
        if (action == ACTION_MOVE) {
        if (action == ACTION_MOVE && mDownEvents.contains(pid)) {
            float dy = ev.getY(idx) - mDownEvents.get(pid).y;
            float dx = ev.getX(idx) - mDownEvents.get(pid).x;
            if (mIsTrackpadReverseScroll) {