From 51a1a58aff377124b5d9722469b43213f011e383 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Sat, 18 Apr 2015 14:12:17 -0700 Subject: DO NOT MERGE Stop using internal plural resources Change-Id: I6ddd0555c56cdd3c5269ba435b14d4c26e015e22 --- InCallUI/src/com/android/incallui/InCallDateUtils.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'InCallUI/src/com') diff --git a/InCallUI/src/com/android/incallui/InCallDateUtils.java b/InCallUI/src/com/android/incallui/InCallDateUtils.java index 88c5354c0..156eea06f 100644 --- a/InCallUI/src/com/android/incallui/InCallDateUtils.java +++ b/InCallUI/src/com/android/incallui/InCallDateUtils.java @@ -33,22 +33,19 @@ public class InCallDateUtils { final Resources res = Resources.getSystem(); StringBuilder duration = new StringBuilder(); if (hours > 0) { - duration.append(res.getQuantityString( - com.android.internal.R.plurals.duration_hours, hours, hours)); + duration.append(res.getQuantityString(R.plurals.duration_hours, hours, hours)); } if (minutes > 0) { if (hours > 0) { duration.append(' '); } - duration.append(res.getQuantityString( - com.android.internal.R.plurals.duration_minutes, minutes, minutes)); + duration.append(res.getQuantityString(R.plurals.duration_minutes, minutes, minutes)); } if (seconds > 0) { if (hours > 0 || minutes > 0) { duration.append(' '); } - duration.append(res.getQuantityString( - com.android.internal.R.plurals.duration_seconds, seconds, seconds)); + duration.append(res.getQuantityString(R.plurals.duration_seconds, seconds, seconds)); } return duration.toString(); } -- cgit v1.2.3