diff options
author | Daniel Sandler <dsandler@android.com> | 2012-09-28 12:40:41 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-28 12:40:41 -0700 |
commit | 073a32d5ef8b3589b8315550dca837ae872d4be7 (patch) | |
tree | 78cf88fb42daa1b1af367c0a741d22b83b12c05e | |
parent | 47c52a873e78d78a73abe85bb5491701a7b39feb (diff) | |
parent | f59a90c24788d6d67a492aa5a9d8efbf350bbd7e (diff) | |
download | frameworks_base-073a32d5ef8b3589b8315550dca837ae872d4be7.zip frameworks_base-073a32d5ef8b3589b8315550dca837ae872d4be7.tar.gz frameworks_base-073a32d5ef8b3589b8315550dca837ae872d4be7.tar.bz2 |
Merge "Fix occasional re-posting of ticker text." into jb-mr1-dev
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 4f0d113..e084368 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -1073,7 +1073,7 @@ public class PhoneStatusBar extends BaseStatusBar { if ((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) { if ((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) { if (mTicking) { - mTicker.halt(); + haltTicker(); } mNotificationIcons.animate() @@ -1095,7 +1095,7 @@ public class PhoneStatusBar extends BaseStatusBar { } } else if ((diff & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) { if (mTicking && (state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) { - mTicker.halt(); + haltTicker(); } } } @@ -1359,7 +1359,7 @@ public class PhoneStatusBar extends BaseStatusBar { if (lightsOut) { animateCollapsePanels(); if (mTicking) { - mTicker.halt(); + haltTicker(); } } @@ -1489,8 +1489,7 @@ public class PhoneStatusBar extends BaseStatusBar { mStatusBarContents.setVisibility(View.VISIBLE); mTickerView.setVisibility(View.GONE); mStatusBarContents.startAnimation(loadAnim(com.android.internal.R.anim.fade_in, null)); - mTickerView.startAnimation(loadAnim(com.android.internal.R.anim.fade_out, - mTickingDoneListener)); + // we do not animate the ticker away at this point, just get rid of it (b/6992707) } } |