summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Mendal <mendal@google.com>2013-10-29 21:22:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-10-29 21:22:11 +0000
commiteb56ee723dc02b47d79b60dc39d4dd5407194c8f (patch)
tree0ed98061d14cc9ac0b52d6d4a9591ec90dab11fb
parentcf1805f8547328dbbc1e879d25f45947227b33aa (diff)
parent78253181e085587aff732436df73e9da9f593f6d (diff)
downloadbase-eb56ee723dc02b47d79b60dc39d4dd5407194c8f.tar.gz
Merge "Update the docs for advanced printer options (NO CODE CHANGES)" into klp-release
-rw-r--r--core/java/android/printservice/PrintService.java8
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";