Make Battery History chart non selectable

- ... because it should not be selectable

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I625d1533991623f5c3897be15ccfa48fd0fc02f8
This commit is contained in:
Fabrice Di Meglio
2014-07-29 16:29:00 -07:00
parent 2153ef3858
commit 4a70996465

View File

@@ -47,6 +47,8 @@ public class BatteryHistoryPreference extends Preference {
setLayoutResource(R.layout.preference_batteryhistory);
mStats = stats;
mBatteryBroadcast = batteryBroadcast;
// Make it non selectable
setSelectable(false);
}
BatteryStats getStats() {