Merge "Add Foreground Service time to battery usage" into oc-mr1-dev

This commit is contained in:
Michael Wachenschwanz
2017-07-24 19:02:12 +00:00
committed by Android (Google) Code Review
5 changed files with 82 additions and 42 deletions

View File

@@ -714,7 +714,7 @@ public class PowerUsageSummary extends PowerUsageBase implements
preference.setSummary(
(sipper.drainType != DrainType.APP || mBatteryUtils.shouldHideSipper(sipper))
? timeSequence
: TextUtils.expandTemplate(getText(R.string.battery_screen_usage),
: TextUtils.expandTemplate(getText(R.string.battery_used_for),
timeSequence));
}
}