Skip to content

Commit 5bff551

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Refresh the status bar clock format on user switch." into jb-mr1.1-dev
2 parents 1f30163 + ce4f5e5 commit 5bff551

File tree

1 file changed

+2
-2
lines changed
  • packages/SystemUI/src/com/android/systemui/statusbar/policy

1 file changed

+2
-2
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
import com.android.internal.R;
4646

4747
/**
48-
* This widget display an analogic clock with two hands for hours and
49-
* minutes.
48+
* Digital clock for the status bar.
5049
*/
5150
public class Clock extends TextView {
5251
private boolean mAttached;
@@ -84,6 +83,7 @@ protected void onAttachedToWindow() {
8483
filter.addAction(Intent.ACTION_TIME_CHANGED);
8584
filter.addAction(Intent.ACTION_TIMEZONE_CHANGED);
8685
filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
86+
filter.addAction(Intent.ACTION_USER_SWITCHED);
8787

8888
getContext().registerReceiver(mIntentReceiver, filter, null, getHandler());
8989
}

0 commit comments

Comments
 (0)