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

Commit e978af63 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Android (Google) Code Review
Browse files

Merge "Do not add far favorite printers more than once."

parents fcb51b82 9b99d76a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -207,6 +207,7 @@ public final class FusedPrintersProvider extends Loader<List<PrinterInfo>>
            PrinterInfo favoritePrinter = favoritePrinters.get(i).first;
            if (!alreadyAddedPrinter.contains(favoritePrinter.getId())) {
                updateAndAddPrinter(printers, favoritePrinter, discoveredPrinters);
                alreadyAddedPrinter.add(favoritePrinter.getId());
            }
        }