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

Commit 2888404d authored by Evan Rosky's avatar Evan Rosky
Browse files

Use client-side version of inTouchMode

Was bindering into WM service pretty often due to this which was
causing some jank

Bug: 72236832
Test: Related touchmode/focus CTS tests still pass
Change-Id: Ia0f89429b67464beea07c702d8fe2d8b813f8d38
parent 21ba6eff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3719,7 +3719,7 @@ public final class ViewRootImpl implements ViewParent,
        checkThread();
        if (mView != null) {
            if (!mView.hasFocus()) {
                if (sAlwaysAssignFocus || !isInTouchMode()) {
                if (sAlwaysAssignFocus || !mAttachInfo.mInTouchMode) {
                    v.requestFocus();
                }
            } else {