Reinforce limited networks in data usage UI.

When restricting background data, list the networks the restriction
applies to.

Bug: 5131685, 5058106
Change-Id: Idde084dfa5ac6313a8d145cb6f2603aedb154590
This commit is contained in:
Jeff Sharkey
2011-08-17 15:08:12 -07:00
parent 96bc051377
commit 30dde0f5a0
4 changed files with 63 additions and 16 deletions

View File

@@ -116,7 +116,7 @@ public class ChartGridView extends View {
mBorder.setBounds(0, 0, width, height);
mBorder.draw(canvas);
final int padding = mLayoutStart.getHeight() / 8;
final int padding = mLayoutStart != null ? mLayoutStart.getHeight() / 8 : 0;
final Layout start = mLayoutStart;
if (start != null) {