summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2014-05-12 15:37:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-12 15:37:33 +0000
commita9c47626975181261a409d029d24d9c893bc4717 (patch)
tree7ac80d55e96f5e10bec536e0238352b72a4ca100
parent87db385943481dbeb681fbfbee3d0b693520d1b3 (diff)
parent68c46fd8dd88b906cf064f0d8d0408d4f60e2a4d (diff)
downloadframeworks_base-a9c47626975181261a409d029d24d9c893bc4717.zip
frameworks_base-a9c47626975181261a409d029d24d9c893bc4717.tar.gz
frameworks_base-a9c47626975181261a409d029d24d9c893bc4717.tar.bz2
Merge "Flush dump output before calling score cache dump() methods."
-rw-r--r--services/core/java/com/android/server/NetworkScoreService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/NetworkScoreService.java b/services/core/java/com/android/server/NetworkScoreService.java
index 4f0c9b5..512ebc6 100644
--- a/services/core/java/com/android/server/NetworkScoreService.java
+++ b/services/core/java/com/android/server/NetworkScoreService.java
@@ -171,6 +171,7 @@ public class NetworkScoreService extends INetworkScoreService.Stub {
return;
}
writer.println("Current scorer: " + currentScorer);
+ writer.flush();
for (INetworkScoreCache scoreCache : getScoreCaches()) {
try {