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

Commit d2c61d6e 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: I16d6c811ba35334d33bb8d17fe1e8a8862e61f79
parents a33e27cf 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());