summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2013-08-29 21:37:10 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2013-08-29 21:37:40 -0700
commit99cc86f9e096b204f1e9a3754bcb9514512ddaeb (patch)
tree255ada17e38257e18a84e5d61f1d290f4284beef /core
parent7be3a138d57713bbe6d624998620081807e65b71 (diff)
downloadframeworks_base-99cc86f9e096b204f1e9a3754bcb9514512ddaeb.zip
frameworks_base-99cc86f9e096b204f1e9a3754bcb9514512ddaeb.tar.gz
frameworks_base-99cc86f9e096b204f1e9a3754bcb9514512ddaeb.tar.bz2
Addressing API councing suggestions for com.android.printservice
bug:10553001 Change-Id: Ic4f7882bd10fcce79c7afc65fdb2018cbadb19c2
Diffstat (limited to 'core')
-rw-r--r--core/java/android/printservice/PrintJob.java4
-rw-r--r--core/java/android/printservice/PrinterDiscoverySession.java2
-rw-r--r--core/java/android/printservice/package.html3
3 files changed, 4 insertions, 5 deletions
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.
* <p>
- * <strong>Note: </strong> All methods of this class must be executed on the main
- * application thread.
+ * <strong>Note: </strong> All methods of this class must be invoked on
+ * the main application thread.
* </p>
*/
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.
* <p>
* 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
<p>
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.
<p/>
<p>
The system is responsible for starting and stopping a print service depending on whether