diff options
-rw-r--r-- | tests/DataIdleTest/src/com/android/tests/dataidle/DataIdleTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/DataIdleTest/src/com/android/tests/dataidle/DataIdleTest.java b/tests/DataIdleTest/src/com/android/tests/dataidle/DataIdleTest.java index 54adc249..b803b98 100644 --- a/tests/DataIdleTest/src/com/android/tests/dataidle/DataIdleTest.java +++ b/tests/DataIdleTest/src/com/android/tests/dataidle/DataIdleTest.java @@ -72,6 +72,7 @@ public class DataIdleTest extends InstrumentationTestCase { */ private void fetchStats(NetworkTemplate template) { try { + mStatsService.forceUpdate(); NetworkStats stats = mStatsService.getSummaryForAllUid(template, Long.MIN_VALUE, Long.MAX_VALUE, false); reportStats(stats); |