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
This commit is contained in:
Selim Cinek
2016-05-18 16:59:07 -07:00
parent 5b03ce95c7
commit a2a0171e7c

View File

@@ -130,6 +130,7 @@ public class Chronometer extends TextView {
@android.view.RemotableViewMethod
public void setCountDown(boolean countDown) {
mCountDown = countDown;
updateText(SystemClock.elapsedRealtime());
}
/**