diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-06-21 18:45:22 +0100 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-06-21 18:45:22 +0100 |
commit | 14530a851cb581b48e5d5eca33ca9a1b56c9887f (patch) | |
tree | b2f655ab7053b6f85cf851eb363408ae94702004 | |
parent | 09abf58fc98130df8ebcb3fbb79d1160d933d2ac (diff) | |
download | frameworks_base-14530a851cb581b48e5d5eca33ca9a1b56c9887f.zip frameworks_base-14530a851cb581b48e5d5eca33ca9a1b56c9887f.tar.gz frameworks_base-14530a851cb581b48e5d5eca33ca9a1b56c9887f.tar.bz2 |
Fix DateUtils.formatElapsedTime, again
Remove extraneous "hours" argument in the <10 minutes case
Change-Id: I5a5913d2e0744f5783f8422cddc30603c7bd703f
-rw-r--r-- | core/java/android/text/format/DateUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/text/format/DateUtils.java b/core/java/android/text/format/DateUtils.java index 7872416..7845d8f 100644 --- a/core/java/android/text/format/DateUtils.java +++ b/core/java/android/text/format/DateUtils.java @@ -675,7 +675,7 @@ public class DateUtils } else if (minutes < 10) { /* For MR1 Holo CTS, the minutes can't be zero-padded */ String FAST_FORMAT_MMSS = "%1$d:%2$02d"; - return f.format(FAST_FORMAT_MMSS, hours, minutes, seconds).toString(); + return f.format(FAST_FORMAT_MMSS, minutes, seconds).toString(); } else { return f.format(sElapsedFormatMMSS, minutes, seconds).toString(); } |