diff options
Diffstat (limited to 'services/core/java/com/android/server/content/SyncManager.java')
-rw-r--r-- | services/core/java/com/android/server/content/SyncManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/content/SyncManager.java b/services/core/java/com/android/server/content/SyncManager.java index 4173b78..7cccef2 100644 --- a/services/core/java/com/android/server/content/SyncManager.java +++ b/services/core/java/com/android/server/content/SyncManager.java @@ -1190,7 +1190,7 @@ public class SyncManager { while (operationIterator.hasNext()) { final SyncOperation op = operationIterator.next(); if (op.appIdle - && getPackageName(op.target).equals(packageName) + && (packageName == null || getPackageName(op.target).equals(packageName)) && (userId == UserHandle.USER_ALL || op.target.userId == userId)) { op.appIdle = false; clearBackoffSetting(op); |