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

Commit 5ae394be authored by Lyn Han's avatar Lyn Han
Browse files

Protect against NPE thrown by flaky integration test

Bug: 150344903
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.bubble.Overflow -s [device] --rerun-until-failure 3
Change-Id: I603ee92a4bc83017d877bde721d1a2f4ccf15fa2
parent 3882026c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2216,9 +2216,10 @@ public class BubbleStackView extends FrameLayout
            }

            // Stop suppressing the dot now that the flyout has morphed into the dot.
            if (bubble.getIconView() != null) {
                bubble.getIconView().removeDotSuppressionFlag(
                        BadgedImageView.SuppressionFlag.FLYOUT_VISIBLE);

            }
            // Hide the stack after a delay, if needed.
            updateTemporarilyInvisibleAnimation(false /* hideImmediately */);
        };