Merge "Pass correct extras to the custom print options activity" into mnc-dev

This commit is contained in:
Svetoslav Ganov
2015-07-27 19:23:37 +00:00
committed by Android (Google) Code Review

View File

@@ -679,7 +679,7 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
if (resolvedActivities.get(0).activityInfo.exported) {
intent.putExtra(PrintService.EXTRA_PRINT_JOB_INFO, mPrintJob);
intent.putExtra(PrintService.EXTRA_PRINTER_INFO, printer);
intent.putExtra(PrintService.EXTRA_PRINT_JOB_INFO,
intent.putExtra(PrintService.EXTRA_PRINT_DOCUMENT_INFO,
mPrintedDocument.getDocumentInfo().info);
// This is external activity and may not be there.