From a95a3b494fd88f83c9f5d32e001452575ba235ec Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 20 Sep 2012 17:48:37 -0700 Subject: [PATCH] Fix javadoc. Bug: 7172727 Change-Id: I55ee0099ea2e61f5f0a9de7b434fb8fb858ad5f9 --- core/java/android/app/Presentation.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/java/android/app/Presentation.java b/core/java/android/app/Presentation.java index eb5a652a9e969..b5e5244093813 100644 --- a/core/java/android/app/Presentation.java +++ b/core/java/android/app/Presentation.java @@ -32,24 +32,26 @@ import android.util.TypedValue; /** * Base class for presentations. - * + *

* A presentation is a special kind of dialog whose purpose is to present * content on a secondary display. A {@link Presentation} is associated with * the target {@link Display} at creation time and configures its context and * resource configuration according to the display's metrics. - * + *

* Notably, the {@link Context} of a presentation is different from the context * of its containing {@link Activity}. It is important to inflate the layout * of a presentation and load other resources using the presentation's own context * to ensure that assets of the correct size and density for the target display * are loaded. - * + *

* A presentation is automatically canceled (see {@link Dialog#cancel()}) when * the display to which it is attached is removed. An activity should take * care of pausing and resuming whatever content is playing within the presentation - * whenever the activity itself is paused or resume. + * whenever the activity itself is paused or resumed. + *

* - * @see {@link DisplayManager} for information on how to enumerate displays. + * @see DisplayManager for information on how to enumerate displays and receive + * notifications when displays are added or removed. */ public class Presentation extends Dialog { private static final String TAG = "Presentation";