diff options
| author | 2014-03-18 18:00:01 +0000 | |
|---|---|---|
| committer | 2014-03-18 18:00:01 +0000 | |
| commit | fcf3b103f0fc275aeefbe548804b51c26f4385a5 (patch) | |
| tree | de2f8b4ece7bf37bc6a77c8ba219216c434a3d45 | |
| parent | 73832594b31fe110a24329aad9bf611412600e71 (diff) | |
| parent | 85a85a0ed775999533b14a415fd79b50fe63e6d2 (diff) | |
Merge "Update print docs"
| -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 09ed0ef0ba96..e4f73cb40b27 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. |