Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java +2 −2 Original line number Diff line number Diff line Loading @@ -45,8 +45,7 @@ import java.util.TimeZone; import com.android.internal.R; /** * This widget display an analogic clock with two hands for hours and * minutes. * Digital clock for the status bar. */ public class Clock extends TextView { private boolean mAttached; Loading Loading @@ -84,6 +83,7 @@ public class Clock extends TextView { filter.addAction(Intent.ACTION_TIME_CHANGED); filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); filter.addAction(Intent.ACTION_USER_SWITCHED); getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java +2 −2 Original line number Diff line number Diff line Loading @@ -45,8 +45,7 @@ import java.util.TimeZone; import com.android.internal.R; /** * This widget display an analogic clock with two hands for hours and * minutes. * Digital clock for the status bar. */ public class Clock extends TextView { private boolean mAttached; Loading Loading @@ -84,6 +83,7 @@ public class Clock extends TextView { filter.addAction(Intent.ACTION_TIME_CHANGED); filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); filter.addAction(Intent.ACTION_USER_SWITCHED); getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); } Loading