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

Commit e5ae1c3a authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Fix stack visibility after unlocking

Fix: 409756388
Flag: EXEMPT bug fix
Test: manual
       - create a floating bubble
       - expand
       - lock
       - unlock
       - observe the stack is visible

Change-Id: I79a61bcd95b7a381ed5bcbfb25cd3cfbd1970738
parent 25cb3202
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -2633,22 +2633,12 @@ public class BubbleController implements ConfigurationChangeListener,
                mIsStatusBarShade, hasBubbles());
        if (!mIsStatusBarShade) {
            // Bubbles don't appear when the device is locked.
            if (mStackView != null) {
                mStackView.setVisibility(INVISIBLE);
            }
            if (mLayerView != null) {
                mLayerView.setVisibility(INVISIBLE);
            }
            mBubblesRootView.setVisibility(INVISIBLE);
        } else if (hasBubbles()) {
            // If we're unlocked, show the stack if we have bubbles. If we don't have bubbles, the
            // stack will be set to INVISIBLE in onAllBubblesAnimatedOut after the bubbles animate
            // out.
            if (mStackView != null) {
                mStackView.setVisibility(VISIBLE);
            }
            if (mLayerView != null) {
                mLayerView.setVisibility(VISIBLE);
            }
            mBubblesRootView.setVisibility(VISIBLE);
        }

        if (mStackView != null) {