OSDN Git Service

Minor Formating Fix
authorAlon Albert <aalbert@google.com>
Sun, 7 Jul 2013 09:31:27 +0000 (12:31 +0300)
committerAlon Albert <aalbert@google.com>
Mon, 15 Jul 2013 05:41:34 +0000 (08:41 +0300)
Put a space between the period and the bundle of a
periodic sync.

Change-Id: If6cd7ae2b3faf59d2c8fd760983eb4650d62aca9

services/java/com/android/server/content/SyncManager.java

index 9e2e841..2da95c3 100644 (file)
@@ -1273,7 +1273,7 @@ public class SyncManager {
                 for (int i = 0; i < settings.periodicSyncs.size(); i++) {
                     final Pair<Bundle, Long> pair = settings.periodicSyncs.get(i);
                     final String period = String.valueOf(pair.second);
-                    final String extras = pair.first.size() > 0 ? pair.first.toString() : "";
+                    final String extras = pair.first.size() > 0 ? " " + pair.first.toString() : "";
                     final String next = formatTime(status.getPeriodicSyncTime(i)
                             + pair.second * 1000);
                     table.set(row + i * 2, 12, period + extras);