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

Commit b68d1639 authored by Jun Mukai's avatar Jun Mukai Committed by Android (Google) Code Review
Browse files

Merge "Reset mPointerIconShape properly on window manager."

parents 0dfd4faf 02812ba5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ public class TaskTapPointerEventListener implements PointerEventListener {
                final int y = (int) motionEvent.getY();
                final Task task = mDisplayContent.findTaskForControlPoint(x, y);
                if (task == null) {
                    mPointerIconShape = STYLE_NOT_SPECIFIED;
                    break;
                }
                task.getDimBounds(mTmpRect);
@@ -137,6 +138,7 @@ public class TaskTapPointerEventListener implements PointerEventListener {
            } break;

            case MotionEvent.ACTION_HOVER_EXIT:
                mPointerIconShape = STYLE_NOT_SPECIFIED;
                motionEvent.getDevice().setPointerShape(STYLE_DEFAULT);
                break;