Merge "Update print docs"
This commit is contained in:
@@ -362,11 +362,13 @@ public final class PrintManager {
|
|||||||
* <p>
|
* <p>
|
||||||
* <strong>Note:</strong> Calling this method will bring the print dialog and
|
* <strong>Note:</strong> Calling this method will bring the print dialog and
|
||||||
* the system will connect to the provided {@link PrintDocumentAdapter}. If a
|
* the system will connect to the provided {@link PrintDocumentAdapter}. If a
|
||||||
* configuration change occurs, such as rotation, the system will drop the
|
* configuration change occurs that you application does not handle, for example
|
||||||
* connection to the adapter as the activity has to be recreated and the old
|
* a rotation change, the system will drop the connection to the adapter as the
|
||||||
* adapter may be invalid in this context. As a consequence, if your activity
|
* activity has to be recreated and the old adapter may be invalid in this context,
|
||||||
* does not handle rotation, you have to save the state that you were printing
|
* hence a new adapter instance is required. As a consequence, if your activity
|
||||||
* and call this method again when your activity is recreated.
|
* does not handle configuration changes (default behavior), you have to save the
|
||||||
|
* state that you were printing and call this method again when your activity
|
||||||
|
* is recreated.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @param printJobName A name for the new print job which is shown to the user.
|
* @param printJobName A name for the new print job which is shown to the user.
|
||||||
|
|||||||
Reference in New Issue
Block a user