diff options
author | Svetoslav <svetoslavganov@google.com> | 2014-03-18 10:48:51 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2014-03-18 10:48:51 -0700 |
commit | 85a85a0ed775999533b14a415fd79b50fe63e6d2 (patch) | |
tree | c771472f27ff791c92ab065b874d6f07514b4631 /core/java/android | |
parent | 81f14b96899afa90330e2652acb629345acf17b1 (diff) | |
download | frameworks_base-85a85a0ed775999533b14a415fd79b50fe63e6d2.zip frameworks_base-85a85a0ed775999533b14a415fd79b50fe63e6d2.tar.gz frameworks_base-85a85a0ed775999533b14a415fd79b50fe63e6d2.tar.bz2 |
Update print docs
Change-Id: I671ad776968ca2802f05f94f7cc96959fb50fa4b
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/print/PrintManager.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/core/java/android/print/PrintManager.java b/core/java/android/print/PrintManager.java index 09ed0ef..e4f73cb 100644 --- a/core/java/android/print/PrintManager.java +++ b/core/java/android/print/PrintManager.java @@ -362,11 +362,13 @@ public final class PrintManager { * <p> * <strong>Note:</strong> Calling this method will bring the print dialog and * the system will connect to the provided {@link PrintDocumentAdapter}. If a - * configuration change occurs, such as rotation, the system will drop the - * connection to the adapter as the activity has to be recreated and the old - * adapter may be invalid in this context. As a consequence, if your activity - * does not handle rotation, you have to save the state that you were printing - * and call this method again when your activity is recreated. + * configuration change occurs that you application does not handle, for example + * a rotation change, the system will drop the connection to the adapter as the + * activity has to be recreated and the old adapter may be invalid in this context, + * hence a new adapter instance is required. As a consequence, if your activity + * 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> * * @param printJobName A name for the new print job which is shown to the user. |