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

This commit is contained in:
Philip P. Moltmann
2020-05-17 23:09:39 +00:00
committed by Android (Google) Code Review

View File

@@ -231,11 +231,6 @@ public final class FusedPrintersProvider extends Loader<List<PrinterInfo>>
// Add the new printers, i.e. what is left.
printers.addAll(discoveredPrinters.values());
// Do nothing if the printer list is not changed.
if (Objects.equals(mPrinters, printers)) {
return;
}
// Update the list of printers.
mPrinters.clear();
mPrinters.addAll(printers);