diff options
author | Svet Ganov <svetoslavganov@google.com> | 2015-07-25 12:10:54 -0700 |
---|---|---|
committer | Svet Ganov <svetoslavganov@google.com> | 2015-07-25 12:11:01 -0700 |
commit | f12b393ff406a3bb8967b69a9be2dd27b0725b33 (patch) | |
tree | d23dd094708becbe8c5584df3438d10cbb9e2e7c | |
parent | 1d071ce9b1810fbcf231fd17c4cb5621e68ff419 (diff) | |
download | frameworks_base-f12b393ff406a3bb8967b69a9be2dd27b0725b33.zip frameworks_base-f12b393ff406a3bb8967b69a9be2dd27b0725b33.tar.gz frameworks_base-f12b393ff406a3bb8967b69a9be2dd27b0725b33.tar.bz2 |
Pass correct extras to the custom print options activity
bug:22734138
Change-Id: Iea1bc32c3e863072b2021b823bef2cefa54fa540
-rw-r--r-- | packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java index 3c5dae3..6baa4b3 100644 --- a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java +++ b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java @@ -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. |