From 4c72ae5e3d172f883e5957509c5c7bf92c6cc8d4 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 14 Jun 2011 15:01:18 -0700 Subject: Cycle day editor and other confirmation dialogs. Create dialog to edit "cycle day" when data usage resets. Also added dialogs to confirm enabling limit and restricting an application. Change-Id: I1e08b17fabd1fcfc2f260807a61435d0ff1a8627 --- src/com/android/settings/widget/DataUsageChartView.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/com/android/settings/widget') diff --git a/src/com/android/settings/widget/DataUsageChartView.java b/src/com/android/settings/widget/DataUsageChartView.java index 9dbffcd..6c62fa8 100644 --- a/src/com/android/settings/widget/DataUsageChartView.java +++ b/src/com/android/settings/widget/DataUsageChartView.java @@ -127,6 +127,8 @@ public class DataUsageChartView extends ChartView { } else { mSweepDataWarn.setVisibility(View.INVISIBLE); } + + requestLayout(); } private OnSweepListener mSweepListener = new OnSweepListener() { @@ -195,6 +197,7 @@ public class DataUsageChartView extends ChartView { requestLayout(); mSeries.generatePath(); + mSeries.invalidate(); } public static class TimeAxis implements ChartAxis { -- cgit v1.1