am 9c167e92: Fix secondary data usage color regression.

* commit '9c167e92df8b42c5ff5955c1186cacd4dc44914d':
  Fix secondary data usage color regression.
This commit is contained in:
Jeff Sharkey
2015-01-26 23:38:40 +00:00
committed by Android Git Automerger

View File

@@ -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() {