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

Commit 6e3a287b authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Reduce unnecessary string operation for input info" into main

parents 75e7c2fc aee2a216
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -259,8 +259,6 @@ final class InputMonitor {
        inputWindowHandle.setPaused(w.mActivityRecord != null && w.mActivityRecord.paused);
        inputWindowHandle.setWindowToken(w.mClient.asBinder());

        inputWindowHandle.setName(w.getName());

        // Update layout params flags to force the window to be not touch modal. We do this to
        // restrict the window's touchable region to the task even if it requests touches outside
        // its window bounds. An example is a dialog in primary split should get touches outside its
+3 −0
Original line number Diff line number Diff line
@@ -2627,6 +2627,9 @@ public class WindowManagerService extends IWindowManager.Stub
            if ((attrChanges & WindowManager.LayoutParams.ALPHA_CHANGED) != 0) {
                winAnimator.mAlpha = attrs.alpha;
            }
            if ((attrChanges & WindowManager.LayoutParams.TITLE_CHANGED) != 0) {
                win.mInputWindowHandle.setName(win.getName());
            }
            win.setWindowScale(win.mRequestedWidth, win.mRequestedHeight);

            if (win.mAttrs.surfaceInsets.left != 0