Update the strings for "show all apps"
Bug: 38328724 Test: Screenshot Change-Id: If48ff26f691795dcf206346af6a9a0be62bbf733
This commit is contained in:
@@ -429,8 +429,9 @@ public class PowerUsageSummary extends PowerUsageBase {
|
||||
updateLastFullChargePreference(runningTime);
|
||||
|
||||
final CharSequence timeSequence = Utils.formatElapsedTime(context, runningTime, false);
|
||||
mAppListGroup.setTitle(
|
||||
TextUtils.expandTemplate(getText(R.string.power_usage_list_summary), timeSequence));
|
||||
final int resId = mShowAllApps ? R.string.power_usage_list_summary_device
|
||||
: R.string.power_usage_list_summary;
|
||||
mAppListGroup.setTitle(TextUtils.expandTemplate(getText(resId), timeSequence));
|
||||
|
||||
if (averagePower >= MIN_AVERAGE_POWER_THRESHOLD_MILLI_AMP || USE_FAKE_DATA) {
|
||||
final List<BatterySipper> usageList = getCoalescedUsageList(
|
||||
|
Reference in New Issue
Block a user