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

Commit c4849696 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Revert "Only apply server visible to split screen"" into rvc-dev am:...

Merge "Revert "Only apply server visible to split screen"" into rvc-dev am: cf1dd0cd am: b036efd9 am: adacec97 am: cd385df7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11986789

Change-Id: Ib483144860d606778f60b4055635327e2d35feae
parents 80a13bce cd385df7
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -351,13 +351,9 @@ class InsetsSourceProvider {
    }

    private void updateVisibility() {
        // TODO(b/159699383): remove the client controlled check when the insets visibility can be
        //                    driven by the system UI.
        final boolean isClientControlled = mControlTarget != null
                && mControlTarget.isClientControlled();
        mSource.setVisible(mServerVisible
                && ((!isClientControlled && mDisplayContent.inMultiWindowMode())
                    || mClientVisible));
        mSource.setVisible(mServerVisible && (!isClientControlled || mClientVisible));
        ProtoLog.d(WM_DEBUG_IME,
                "InsetsSource updateVisibility serverVisible: %s clientVisible: %s",
                mServerVisible, mClientVisible);