Index: ui/base/l10n/l10n_util_android.cc |
diff --git a/ui/base/l10n/l10n_util_android.cc b/ui/base/l10n/l10n_util_android.cc |
index 09a0eb4f2222f4b7760abf7fd0fec7504b41e471..154b675971112015431887d3958e0d380951523d 100644 |
--- a/ui/base/l10n/l10n_util_android.cc |
+++ b/ui/base/l10n/l10n_util_android.cc |
@@ -103,7 +103,8 @@ jstring GetDurationString(JNIEnv* env, jclass clazz, jlong timeInMillis) { |
ScopedJavaLocalRef<jstring> jtime_remaining = |
base::android::ConvertUTF16ToJavaString( |
env, |
- ui::TimeFormat::TimeRemaining( |
+ ui::TimeFormat::Simple( |
+ ui::TimeFormat::FORMAT_REMAINING, ui::TimeFormat::LENGTH_SHORT, |
base::TimeDelta::FromMilliseconds(timeInMillis))); |
return jtime_remaining.Release(); |
} |