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

Commit dc890407 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Automerger Merge Worker
Browse files

Merge "Fix tap outside focus for SCVH from different process." into udc-dev am: 37f6a154

parents bba78470 37f6a154
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -292,7 +292,9 @@ class EmbeddedWindowController {
        private void handleTap(boolean grantFocus) {
            if (mInputChannel != null) {
                if (mHostWindowState != null) {
                    mWmService.grantEmbeddedWindowFocus(mSession, mHostWindowState.mClient,
                    // Use null session since this is being granted by system server and doesn't
                    // require the host session to be passed in
                    mWmService.grantEmbeddedWindowFocus(null, mHostWindowState.mClient,
                            mFocusGrantToken, grantFocus);
                    if (grantFocus) {
                        // If granting focus to the embedded when tapped, we need to ensure the host