Add title and summary for "High usage" pref.

The logic for this pref lives in AnomalyPreferenceController.

Bug: 36924669
Test: RunSettingsRoboTest
Change-Id: Ib88d8e76e1af8a2270fcb671baf55e9f6564b96e
This commit is contained in:
jackqdyulei
2017-04-27 19:32:54 -07:00
parent 14d24c998e
commit 59bc0cc7e7
5 changed files with 53 additions and 19 deletions

View File

@@ -139,7 +139,7 @@ public class PowerUsageSummary extends PowerUsageBase implements
@Override
public void onLoadFinished(Loader<List<Anomaly>> loader, List<Anomaly> data) {
// show high usage preference if possible
mAnomalySummaryPreferenceController.updateHighUsagePreference(data);
mAnomalySummaryPreferenceController.updateAnomalySummaryPreference(data);
}
@Override