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

Commit 8e067cad authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix a potential NPE

Test: none / treehugger
Bug: 312444249
Change-Id: I05fdd88952e52ec69ce7fd08a6e160f2c11dfcbb
parent 2041a1e0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -537,8 +537,8 @@ public class BubbleStackView extends FrameLayout
                return;
            }

            final boolean clickedBubbleIsCurrentlyExpandedBubble =
                    clickedBubble.getKey().equals(mExpandedBubble.getKey());
            final boolean clickedBubbleIsCurrentlyExpandedBubble = mExpandedBubble != null
                            && clickedBubble.getKey().equals(mExpandedBubble.getKey());

            if (isExpanded()) {
                mExpandedAnimationController.onGestureFinished();