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

Commit 5a55f085 authored by Joshua Tsuji's avatar Joshua Tsuji
Browse files

Clear out mTempRect before getting touchable region.

Test: manual
Bug: 156276800
Change-Id: If931656d59eac565db6a19cba26acab4e01e1a30
parent 48695505
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1055,6 +1055,7 @@ public class BubbleStackView extends FrameLayout
    public void onComputeInternalInsets(ViewTreeObserver.InternalInsetsInfo inoutInfo) {
        inoutInfo.setTouchableInsets(ViewTreeObserver.InternalInsetsInfo.TOUCHABLE_INSETS_REGION);

        mTempRect.setEmpty();
        getTouchableRegion(mTempRect);
        inoutInfo.touchableRegion.set(mTempRect);
    }