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

Commit 9f5f5cf5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Handle adding EmbeddedWindows to host windows without an activity"

parents 18d62172 32894346
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7692,7 +7692,9 @@ public class WindowManagerService extends IWindowManager.Stub
            mInputManager.registerInputChannel(serverChannel);
            mEmbeddedWindowController.add(serverChannel.getToken(), window, hostWindow, callingUid,
                    callingPid);
            if (hostWindow != null) {

            if (hostWindow != null
                    && hostWindow.mInputWindowHandle.inputApplicationHandle != null) {
                applicationHandle = new InputApplicationHandle(
                        hostWindow.mInputWindowHandle.inputApplicationHandle);
            }