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

Commit 95356492 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Only set client hidden if both hidden and hiddenRequested

am: 752cd826

Change-Id: I490c1b0a0ee995511c6ac0f657c587055225a73a
parents 8dff8171 752cd826
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1887,7 +1887,7 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
                "AppWindowToken");

        clearThumbnail();
        setClientHidden(hiddenRequested);
        setClientHidden(isHidden() && hiddenRequested);

        if (mService.mInputMethodTarget != null && mService.mInputMethodTarget.mAppToken == this) {
            getDisplayContent().computeImeTarget(true /* updateImeTarget */);