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

Commit 119c9886 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update sync op duplicate log to a WTF."

parents a7d336a1 e6a3bd6b
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1533,7 +1533,13 @@ public class SyncManager {
                }
            }
            if (duplicatesCount > 1) {
                Slog.e(TAG, "FATAL ERROR! File a bug if you see this.");
                Slog.wtf(TAG, "duplicates found when scheduling a sync operation: "
                        + "owningUid=" + syncOperation.owningUid
                        + "; owningPackage=" + syncOperation.owningPackage
                        + "; source=" + syncOperation.syncSource
                        + "; adapter=" + (syncOperation.target != null
                                            ? syncOperation.target.provider
                                            : "unknown"));
            }

            if (syncOperation != syncToRun) {