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

Commit 42076f46 authored by Liran Binyamin's avatar Liran Binyamin Committed by Android (Google) Code Review
Browse files

Merge "Crash fix in BubbleStachedHandleViewController." into udc-qpr-dev

parents abe6de47 2f1b547a
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ public class BubbleStashedHandleViewController {
    private void updateRegionSampling() {
        boolean handleVisible = mStashedHandleView.getVisibility() == VISIBLE
                && mBubbleStashController.isStashed();
        if (mRegionSamplingHelper != null) {
            mRegionSamplingHelper.setWindowVisible(handleVisible);
            if (handleVisible) {
                mStashedHandleView.updateSampledRegion(mStashedHandleBounds);
@@ -211,6 +212,7 @@ public class BubbleStashedHandleViewController {
                mRegionSamplingHelper.stop();
            }
        }
    }

    /**
     * Sets the translation of the stashed handle during the swipe up gesture.