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

Commit 732f43e5 authored by Winson Chung's avatar Winson Chung Committed by Automerger Merge Worker
Browse files

Merge "Adding null check for split bounds before notifying" into rvc-dev am: 736647f2

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

Change-Id: I56f840abe9fe8aa6f00546e09a80391dcc7213d6
parents fb248831 736647f2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -675,6 +675,9 @@ public class DividerView extends FrameLayout implements OnTouchListener,
    }

    private void notifySplitScreenBoundsChanged() {
        if (mSplitLayout.mPrimary == null || mSplitLayout.mSecondary == null) {
            return;
        }
        mOtherTaskRect.set(mSplitLayout.mSecondary);

        mTmpRect.set(mHandle.getLeft(), mHandle.getTop(), mHandle.getRight(), mHandle.getBottom());