From 99cc86f9e096b204f1e9a3754bcb9514512ddaeb Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Thu, 29 Aug 2013 21:37:10 -0700 Subject: Addressing API councing suggestions for com.android.printservice bug:10553001 Change-Id: Ic4f7882bd10fcce79c7afc65fdb2018cbadb19c2 --- core/java/android/printservice/PrintJob.java | 4 ++-- core/java/android/printservice/PrinterDiscoverySession.java | 2 +- core/java/android/printservice/package.html | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'core/java') diff --git a/core/java/android/printservice/PrintJob.java b/core/java/android/printservice/PrintJob.java index d2fbef2..09b45f3 100644 --- a/core/java/android/printservice/PrintJob.java +++ b/core/java/android/printservice/PrintJob.java @@ -25,8 +25,8 @@ import android.util.Log; * service. It provides APIs for observing the print job state and * performing operations on the print job. *

- * Note: All methods of this class must be executed on the main - * application thread. + * Note: All methods of this class must be invoked on + * the main application thread. *

*/ public final class PrintJob { diff --git a/core/java/android/printservice/PrinterDiscoverySession.java b/core/java/android/printservice/PrinterDiscoverySession.java index 8b959a6..bb18e24 100644 --- a/core/java/android/printservice/PrinterDiscoverySession.java +++ b/core/java/android/printservice/PrinterDiscoverySession.java @@ -30,7 +30,7 @@ import java.util.List; /** * This class encapsulates the interaction between a print service and the * system during printer discovery. During printer discovery you are responsible - * for adding discovered printers, removing already added printers that + * for adding discovered printers, removing previously added printers that * disappeared, and updating already added printers. *

* During the lifetime of this session you may be asked to start and stop diff --git a/core/java/android/printservice/package.html b/core/java/android/printservice/package.html index 6b0327c..7410a49 100644 --- a/core/java/android/printservice/package.html +++ b/core/java/android/printservice/package.html @@ -9,8 +9,7 @@ implementation is factored out of the system and can by independently developed

A print service implementation should extend {@link android.printservice.PrintService} and implement its abstract methods. Also the print service has to follow the contract for -managing print {@link android.printservice.PrintJob}s to ensure correct interaction with -the system and consistent user experience. +managing print {@link android.printservice.PrintJob}s.

The system is responsible for starting and stopping a print service depending on whether -- cgit v1.1