Merge "always clear the HeadsUpDecayTimer"
This commit is contained in:
@@ -981,9 +981,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void resetHeadsUpDecayTimer() {
|
public void resetHeadsUpDecayTimer() {
|
||||||
|
mHandler.removeMessages(MSG_HIDE_HEADS_UP);
|
||||||
if (mUseHeadsUp && mHeadsUpNotificationDecay > 0
|
if (mUseHeadsUp && mHeadsUpNotificationDecay > 0
|
||||||
&& mHeadsUpNotificationView.isClearable()) {
|
&& mHeadsUpNotificationView.isClearable()) {
|
||||||
mHandler.removeMessages(MSG_HIDE_HEADS_UP);
|
|
||||||
mHandler.sendEmptyMessageDelayed(MSG_HIDE_HEADS_UP, mHeadsUpNotificationDecay);
|
mHandler.sendEmptyMessageDelayed(MSG_HIDE_HEADS_UP, mHeadsUpNotificationDecay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user