OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2fbb12
)
Add comment about flag VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL
author
rongliu
<rongliu@google.com>
Fri, 6 Oct 2017 18:01:02 +0000
(11:01 -0700)
committer
rongliu
<rongliu@google.com>
Fri, 6 Oct 2017 18:20:51 +0000
(11:20 -0700)
as recommended.
Change-Id: I3778eed6f91e3ebf70683f40389c605648444b99
Bug:
67420451
Test: Only add comment.
core/java/android/hardware/display/DisplayManager.java
patch
|
blob
|
history
diff --git
a/core/java/android/hardware/display/DisplayManager.java
b/core/java/android/hardware/display/DisplayManager.java
index
ae4f05a
..
b2af44e
100644
(file)
--- a/
core/java/android/hardware/display/DisplayManager.java
+++ b/
core/java/android/hardware/display/DisplayManager.java
@@
-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
*/