diff options
author | Svetoslav <svetoslavganov@google.com> | 2013-10-25 18:57:43 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2013-10-28 11:58:35 -0700 |
commit | 78253181e085587aff732436df73e9da9f593f6d (patch) | |
tree | bba92bb89484d5575bf42f008ba0782dc5264d9b | |
parent | 9221a684fae5376574724192273e7b31aeef245c (diff) | |
download | base-78253181e085587aff732436df73e9da9f593f6d.tar.gz |
Update the docs for advanced printer options (NO CODE CHANGES)
bug:11241800
Change-Id: I352440bc86aec824a805883fc9579d96a06d11e6
-rw-r--r-- | core/java/android/printservice/PrintService.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/printservice/PrintService.java b/core/java/android/printservice/PrintService.java index 0fc5f7f035a6..eb0ac2e631b8 100644 --- a/core/java/android/printservice/PrintService.java +++ b/core/java/android/printservice/PrintService.java @@ -209,6 +209,14 @@ public abstract class PrintService extends Service { * PrintJob#getAdvancedStringOption(String) PrintJob.getAdvancedStringOption(String)} * and {@link PrintJob#getAdvancedIntOption(String) PrintJob.getAdvancedIntOption(String)}. * </p> + * <p> + * If the advanced print options activity offers changes to the standard print + * options, you can get the current {@link android.print.PrinterInfo} using the + * "android.intent.extra.print.EXTRA_PRINTER_INFO" extra which will allow you to + * present the user with UI options supported by the current printer. For example, + * if the current printer does not support a give media size, you should not + * offer it in the advanced print options dialog. + * </p> */ public static final String EXTRA_PRINT_JOB_INFO = "android.intent.extra.print.PRINT_JOB_INFO"; |