OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b03ce9
)
Fixed a bug where the chronometer wasn't updating the time
author
Selim Cinek
<cinek@google.com>
Wed, 18 May 2016 23:59:07 +0000
(16:59 -0700)
committer
Selim Cinek
<cinek@google.com>
Wed, 18 May 2016 23:59:07 +0000
(16:59 -0700)
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
patch
|
blob
|
history
diff --git
a/core/java/android/widget/Chronometer.java
b/core/java/android/widget/Chronometer.java
index
3421790
..
d74fa8c
100644
(file)
--- 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());
}
/**