Tweak battery usage to match red lines.
Most of this is done, the main thing missing is the color of the bars which seems like a framework issue. Note that this introduces a change to the global theme making colorControlActivated the specified blue color, which impacts all of the settings UI. (Except apparently progress bars, and thus the bug.) Change-Id: I4a5ca8c3b94dc23b8f065f60fe697ee0e76ff47d
This commit is contained in:
@@ -48,7 +48,7 @@ public class BatteryHistoryDetail extends Fragment {
|
||||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
View view = inflater.inflate(R.layout.preference_batteryhistory, null);
|
||||
View view = inflater.inflate(R.layout.battery_history_chart, null);
|
||||
BatteryHistoryChart chart = (BatteryHistoryChart)view.findViewById(
|
||||
R.id.battery_history_chart);
|
||||
chart.setStats(mStats, mBatteryBroadcast);
|
||||
|
||||
Reference in New Issue
Block a user