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

Commit d33ee767 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Merge "Delay callback from printerRegistry after Constr." into nyc-dev am:...

Merge "Delay callback from printerRegistry after Constr." into nyc-dev am: 1f113db3 am: f1b84953
am: f61fa9af

* commit 'f61fa9af':
  Delay callback from printerRegistry after Constr.

Change-Id: Ib8570ed86b7c217104b36dfcfa47ae5d7154db7c
parents 0b99d4cc f61fa9af
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -288,12 +288,8 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
        // the first batch of results which will be delivered
        // after reading historical data. This should be pretty
        // fast, so just wait before showing the UI.
        mPrinterRegistry = new PrinterRegistry(PrintActivity.this,
                new Runnable() {
            @Override
            public void run() {
                onPrinterRegistryReady(documentAdapter);
            }
        mPrinterRegistry = new PrinterRegistry(PrintActivity.this, () -> {
            (new Handler(getMainLooper())).post(() -> onPrinterRegistryReady(documentAdapter));
        }, LOADER_ID_PRINT_REGISTRY, LOADER_ID_PRINT_REGISTRY_INT);
    }