We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f30163 + ce4f5e5 commit 5bff551Copy full SHA for 5bff551
packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
@@ -45,8 +45,7 @@
45
import com.android.internal.R;
46
47
/**
48
- * This widget display an analogic clock with two hands for hours and
49
- * minutes.
+ * Digital clock for the status bar.
50
*/
51
public class Clock extends TextView {
52
private boolean mAttached;
@@ -84,6 +83,7 @@ protected void onAttachedToWindow() {
84
83
filter.addAction(Intent.ACTION_TIME_CHANGED);
85
filter.addAction(Intent.ACTION_TIMEZONE_CHANGED);
86
filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
+ filter.addAction(Intent.ACTION_USER_SWITCHED);
87
88
getContext().registerReceiver(mIntentReceiver, filter, null, getHandler());
89
}
0 commit comments