diff options
author | Tsu Chiang Chuang <tsu@google.com> | 2011-09-16 17:48:35 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-16 17:48:35 -0700 |
commit | 3a423234bcfabf319977bfaa4467a8b8df8d3401 (patch) | |
tree | cd2b0c2ca421c97159abae5106f212840696d575 /tests/DataIdleTest | |
parent | e4bbb6ac3128021e865d6e31b4e7ada468886681 (diff) | |
parent | db2990f5e743ed5030b6d5c1307b26737ec67a82 (diff) | |
download | frameworks_base-3a423234bcfabf319977bfaa4467a8b8df8d3401.zip frameworks_base-3a423234bcfabf319977bfaa4467a8b8df8d3401.tar.gz frameworks_base-3a423234bcfabf319977bfaa4467a8b8df8d3401.tar.bz2 |
Merge "Force an update before we poll for the data."
Diffstat (limited to 'tests/DataIdleTest')
-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); |