Fix secondary data usage color regression.
Show overall usage with a 50% transparency when looking at a specific app details page. (Otherwise you can't tell them apart.) Bug: 18927935 Change-Id: I0cad1ba0451a9dab3ed90fa5aa53c115dbe3e1d3
This commit is contained in:
@@ -841,8 +841,10 @@ public class DataUsageSummary extends HighlightingFragment implements Indexable
|
||||
}
|
||||
}
|
||||
|
||||
mSeries.setChartColor(Color.BLACK, seriesColor, seriesColor);
|
||||
mDetailedSeries.setChartColor(Color.BLACK, seriesColor, seriesColor);
|
||||
final int secondaryColor = Color.argb(127, Color.red(seriesColor), Color.green(seriesColor),
|
||||
Color.blue(seriesColor));
|
||||
mSeries.setChartColor(Color.BLACK, seriesColor, secondaryColor);
|
||||
mDetailedSeries.setChartColor(Color.BLACK, seriesColor, secondaryColor);
|
||||
}
|
||||
|
||||
private boolean isAppDetailMode() {
|
||||
|
Reference in New Issue
Block a user