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

Commit bb8af1cf authored by Eliot Courtney's avatar Eliot Courtney
Browse files

Check attached to window before calling addTransientView.

Bug: 63874929
Bug: 62602530
Test: runtest systemui
Test: compile and run
Change-Id: Ib583254d0d2f47e70008704c348d317c87a9271c
parent 482907c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -395,7 +395,7 @@ public class NotificationChildrenContainer extends ViewGroup {
            }
        } else if (mOverflowNumber != null) {
            removeView(mOverflowNumber);
            if (isShown()) {
            if (isShown() && isAttachedToWindow()) {
                final View removedOverflowNumber = mOverflowNumber;
                addTransientView(removedOverflowNumber, getTransientViewCount());
                CrossFadeHelper.fadeOut(removedOverflowNumber, new Runnable() {