Merge "Always call back when printer changes" into rvc-dev am: f1e9d52fd8 am: 863d916e5c
Change-Id: I79486d628e16439bf8c02873ff73ca143c634408
This commit is contained in:
committed by
Automerger Merge Worker
commit
aa597aee23
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user