am 8a265146: Merge "Selected count string needs plurals." into mnc-dev
* commit '8a26514687ccf651eb73d5acdd3ae7c62d247d97': Selected count string needs plurals.
This commit is contained in:
@@ -1790,6 +1790,15 @@ public class TextUtils {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return localized string representing the given number of selected items.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static CharSequence formatSelectedCount(int count) {
|
||||
return Resources.getSystem().getQuantityString(R.plurals.selected_count, count, count);
|
||||
}
|
||||
|
||||
private static Object sLock = new Object();
|
||||
|
||||
private static char[] sTemp = null;
|
||||
|
||||
Reference in New Issue
Block a user