diff options
author | Svet Ganov <svetoslavganov@google.com> | 2015-06-11 02:46:45 -0700 |
---|---|---|
committer | Svet Ganov <svetoslavganov@google.com> | 2015-06-11 03:32:09 -0700 |
commit | 5772b5c671a13d9c4bbc1e3803667166f811cb33 (patch) | |
tree | 7b34208ba313c6e613b42d9c612eef4ca1627389 /packages | |
parent | e545bd36a483b51ef681ea063f7bda9352adb4d4 (diff) | |
download | frameworks_base-5772b5c671a13d9c4bbc1e3803667166f811cb33.zip frameworks_base-5772b5c671a13d9c4bbc1e3803667166f811cb33.tar.gz frameworks_base-5772b5c671a13d9c4bbc1e3803667166f811cb33.tar.bz2 |
Propagete document meta-data to custom print UI.
Change-Id: I3f122224e1b311a222969253ae0336177989a414
Diffstat (limited to 'packages')
-rw-r--r-- | packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java index 4ba04e5..3c5dae3 100644 --- a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java +++ b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java @@ -679,6 +679,8 @@ 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, + mPrintedDocument.getDocumentInfo().info); // This is external activity and may not be there. try { |