Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f63bb00 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Handle null package argument"

parents 2eabe5b7 abedd389
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);