Merge "Add comment about flag VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL as recommended." into oc-mr1-dev

This commit is contained in:
TreeHugger Robot
2017-10-06 23:29:32 +00:00
committed by Android (Google) Code Review

View File

@@ -282,6 +282,10 @@ public final class DisplayManager {
* Virtual display flag: Indicates that the contents will be destroyed once
* the display is removed.
*
* Public virtual displays without this flag will move their content to main display
* stack once they're removed. Private vistual displays will always destroy their
* content on removal even without this flag.
*
* @see #createVirtualDisplay
* @hide
*/