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

Commit 8a9c262a authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Automerger Merge Worker
Browse files

Merge "Always call back when printer changes" into rvc-dev am: f1e9d52f

Change-Id: Ifc1be48fdc3841af1ff1c66fcf8e0e8b6e9b584f
parents 7374be2c f1e9d52f
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -231,11 +231,6 @@ public final class FusedPrintersProvider extends Loader<List<PrinterInfo>>
        // Add the new printers, i.e. what is left.
        // Add the new printers, i.e. what is left.
        printers.addAll(discoveredPrinters.values());
        printers.addAll(discoveredPrinters.values());


        // Do nothing if the printer list is not changed.
        if (Objects.equals(mPrinters, printers)) {
            return;
        }

        // Update the list of printers.
        // Update the list of printers.
        mPrinters.clear();
        mPrinters.clear();
        mPrinters.addAll(printers);
        mPrinters.addAll(printers);