Merge "Use the plural format for "See all COUNT apps"" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-05 01:06:16 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 2 deletions

View File

@@ -117,7 +117,8 @@ public class RecentAppsPreferenceController extends BasePreferenceController
@Override
protected void onCountComplete(int num) {
mAppEntitiesController.setHeaderDetails(
mContext.getString(R.string.see_all_apps_title, num));
mContext.getResources().getQuantityString(R.plurals.see_all_apps_title,
num, num));
mAppEntitiesController.apply();
}
}.execute();