Loading core/java/android/widget/TextClock.java +4 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,10 @@ public class TextClock extends TextView { long now = SystemClock.uptimeMillis(); long next = now + (1000 - now % 1000); getHandler().postAtTime(mTicker, next); Handler handler = getHandler(); if (handler != null) { handler.postAtTime(mTicker, next); } } }; Loading Loading
core/java/android/widget/TextClock.java +4 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,10 @@ public class TextClock extends TextView { long now = SystemClock.uptimeMillis(); long next = now + (1000 - now % 1000); getHandler().postAtTime(mTicker, next); Handler handler = getHandler(); if (handler != null) { handler.postAtTime(mTicker, next); } } }; Loading