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

Commit 59cf3086 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by android-build-merger
Browse files

Merge "Avoid NPE in printspooler when changing language" am: 8d8515e7 am: 5522efb1

am: 16009a6d

* commit '16009a6d':
  Avoid NPE in printspooler when changing language
parents 331d5e07 16009a6d
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -664,10 +664,12 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
            }
        }

        if (mCurrentPrinter != null) {
            PrinterId printerId = mCurrentPrinter.getId();
            final int index = mDestinationSpinnerAdapter.getPrinterIndex(printerId);
            mDestinationSpinner.setSelection(index);
        }
    }

    private void startAdvancedPrintOptionsActivity(PrinterInfo printer) {
        ComponentName serviceName = printer.getId().getServiceName();