Don't animate in the bubble bar unless there are bubbles
Fixes: 290608658
Test: Manual:
- Remove all bubbles
- Lock and unlock device
- Observe that bubble bar is not displayed
- Remove all bubbles
- Restart launcher process
- Observe that bubble bar is not displayed
Change-Id: I850d307394230968f86abc23ba0b4e94f55e10f0
This commit is contained in:
1 parent
c56c01c329
commit
95d84f5e06
2 files changed
+4
-5
No files matched your search
@@ -201,7 +201,7 @@ public class BubbleStashController {
|
||||
public void onSysuiLockedStateChange(boolean isSysuiLocked) {
|
||||
if (isSysuiLocked != mIsSysuiLocked) {
|
||||
mIsSysuiLocked = isSysuiLocked;
|
||||
if (!mIsSysuiLocked) {
|
||||
if (!mIsSysuiLocked && mBarViewController.hasBubbles()) {
|
||||
animateToInitialState(false /* expanding */);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user