Skip to content

Commit 073a32d

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Fix occasional re-posting of ticker text." into jb-mr1-dev
2 parents 47c52a8 + f59a90c commit 073a32d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ public void disable(int state) {
10731073
if ((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {
10741074
if ((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {
10751075
if (mTicking) {
1076-
mTicker.halt();
1076+
haltTicker();
10771077
}
10781078

10791079
mNotificationIcons.animate()
@@ -1095,7 +1095,7 @@ public void disable(int state) {
10951095
}
10961096
} else if ((diff & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) {
10971097
if (mTicking && (state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) {
1098-
mTicker.halt();
1098+
haltTicker();
10991099
}
11001100
}
11011101
}
@@ -1359,7 +1359,7 @@ public void setSystemUiVisibility(int vis, int mask) {
13591359
if (lightsOut) {
13601360
animateCollapsePanels();
13611361
if (mTicking) {
1362-
mTicker.halt();
1362+
haltTicker();
13631363
}
13641364
}
13651365

@@ -1489,8 +1489,7 @@ public void tickerHalting() {
14891489
mStatusBarContents.setVisibility(View.VISIBLE);
14901490
mTickerView.setVisibility(View.GONE);
14911491
mStatusBarContents.startAnimation(loadAnim(com.android.internal.R.anim.fade_in, null));
1492-
mTickerView.startAnimation(loadAnim(com.android.internal.R.anim.fade_out,
1493-
mTickingDoneListener));
1492+
// we do not animate the ticker away at this point, just get rid of it (b/6992707)
14941493
}
14951494
}
14961495

0 commit comments

Comments
 (0)