Fix and update battery detail page

Bug: 27205329
Change-Id: Ie984348d59c1b15bec7283a94a94489f78cacb79
This commit is contained in:
Jason Monk
2016-02-23 12:45:20 -05:00
parent 60df76b169
commit d1ea8a05b0
9 changed files with 523 additions and 9 deletions

View File

@@ -116,7 +116,7 @@ public class PowerUsageSummary extends PowerUsageBase {
@Override
public boolean onPreferenceTreeClick(Preference preference) {
if (!(preference instanceof PowerGaugePreference)) {
return false;
return super.onPreferenceTreeClick(preference);
}
PowerGaugePreference pgp = (PowerGaugePreference) preference;
BatteryEntry entry = pgp.getInfo();