Merge "Pass correct extras to the custom print options activity" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8a54da92ce
@@ -679,7 +679,7 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
|
|||||||
if (resolvedActivities.get(0).activityInfo.exported) {
|
if (resolvedActivities.get(0).activityInfo.exported) {
|
||||||
intent.putExtra(PrintService.EXTRA_PRINT_JOB_INFO, mPrintJob);
|
intent.putExtra(PrintService.EXTRA_PRINT_JOB_INFO, mPrintJob);
|
||||||
intent.putExtra(PrintService.EXTRA_PRINTER_INFO, printer);
|
intent.putExtra(PrintService.EXTRA_PRINTER_INFO, printer);
|
||||||
intent.putExtra(PrintService.EXTRA_PRINT_JOB_INFO,
|
intent.putExtra(PrintService.EXTRA_PRINT_DOCUMENT_INFO,
|
||||||
mPrintedDocument.getDocumentInfo().info);
|
mPrintedDocument.getDocumentInfo().info);
|
||||||
|
|
||||||
// This is external activity and may not be there.
|
// This is external activity and may not be there.
|
||||||
|
|||||||
Reference in New Issue
Block a user