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

Commit d6bc96db authored by Matt Wu's avatar Matt Wu
Browse files

Set WindowSession's touchmode when in local focus mode,

since relayout window can query window manager for isInTouchMode().
Bug:24848552

Change-Id: Icda267d617c09dfd2b22af4019b8313181c4c661
parent 477e26cf
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3534,9 +3534,7 @@ public final class ViewRootImpl implements ViewParent,

        // tell the window manager
        try {
            if (!isInLocalFocusMode()) {
            mWindowSession.setInTouchMode(inTouchMode);
            }
        } catch (RemoteException e) {
            throw new RuntimeException(e);
        }