Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 533e118f authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Addressing API councing suggestions for com.android.printservice" into klp-dev

parents 7f95595f 99cc86f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,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 {
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -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