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

Commit bcac9410 authored by Lyn Han's avatar Lyn Han
Browse files

Protect against NPE

Fixes: 158786995
Fixes: 158728795
Test: atest
Change-Id: I681d4d3bae8f2f3fd5974e72af96570e94d121eb
parent 444d74fa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1780,6 +1780,9 @@ public class BubbleStackView extends FrameLayout
                        AnimatableScaleMatrix.getAnimatableValueForScaleFactor(1f),
                        mScaleInSpringConfig)
                .addUpdateListener((target, values) -> {
                    if (mExpandedBubble.getIconView() == null) {
                        return;
                    }
                    mExpandedViewContainerMatrix.postTranslate(
                            mExpandedBubble.getIconView().getTranslationX()
                                    - bubbleWillBeAtX,