From cc2195bb560cc155bf3e7d3a7f27fe619a497124 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Wed, 16 Oct 2013 13:57:46 -0700 Subject: some javadoc improvements for virtual display and new meta tag name Change-Id: If9caba425f825652468a0f3e868f71ed1a778fb1 --- core/java/android/hardware/display/VirtualDisplay.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'core/java/android/hardware') diff --git a/core/java/android/hardware/display/VirtualDisplay.java b/core/java/android/hardware/display/VirtualDisplay.java index 908aadd..01e5bac 100644 --- a/core/java/android/hardware/display/VirtualDisplay.java +++ b/core/java/android/hardware/display/VirtualDisplay.java @@ -19,7 +19,13 @@ import android.os.IBinder; import android.view.Display; /** - * Represents a virtual display. + * Represents a virtual display. The content of a virtual display is rendered to a + * {@link android.view.Surface} that you must provide to {@link DisplayManager#createVirtualDisplay + * createVirtualDisplay()}. + *

Because a virtual display renders to a surface provided by the application, it will be + * released automatically when the process terminates and all remaining windows on it will + * be forcibly removed. However, you should also explicitly call {@link #release} when you're + * done with it. * * @see DisplayManager#createVirtualDisplay */ -- cgit v1.1