From a2a0171e7cfe305309ea72270204141c588d469d Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Wed, 18 May 2016 16:59:07 -0700 Subject: [PATCH] Fixed a bug where the chronometer wasn't updating the time When the countdown was set to true and the chronometer was set to count down it wasn't updating the time, which is now fixed. Change-Id: I4887d9eb09193c5636070edee9ba1bd13b9a23b5 Fixes: 28829131 --- core/java/android/widget/Chronometer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/widget/Chronometer.java b/core/java/android/widget/Chronometer.java index 3421790894ed5..d74fa8cc30817 100644 --- a/core/java/android/widget/Chronometer.java +++ b/core/java/android/widget/Chronometer.java @@ -130,6 +130,7 @@ public class Chronometer extends TextView { @android.view.RemotableViewMethod public void setCountDown(boolean countDown) { mCountDown = countDown; + updateText(SystemClock.elapsedRealtime()); } /**