summaryrefslogtreecommitdiff
path: root/core/java/android/view/Window.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-05-18 18:21:07 -0700
committerDianne Hackborn <hackbod@google.com>2010-05-18 18:21:07 -0700
commit9b081a809a7e39c6877a9606289ada4680f3d91f (patch)
treeb903472e83d067042e21f1433607d0cbd70a539f /core/java/android/view/Window.java
parentdb3be83ac6932eae7d77ead7a80c1fc8a6493fd6 (diff)
parent8b625a952e441b0f09ef9d480c1d2e7aa3500f0f (diff)
resolved conflicts for merge of 8b625a95 to master
Change-Id: I03264c6aad2d87629f9154f5c390cb36ce08efba
Diffstat (limited to 'core/java/android/view/Window.java')
-rw-r--r--core/java/android/view/Window.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/view/Window.java b/core/java/android/view/Window.java
index e1ff4e86b725..bbd9f046cf5d 100644
--- a/core/java/android/view/Window.java
+++ b/core/java/android/view/Window.java
@@ -480,6 +480,14 @@ public abstract class Window {
}
/**
+ * Take ownership of this window's surface. The window's view hierarchy
+ * will no longer draw into the surface, though it will otherwise continue
+ * to operate (such as for receiving input events). The given SurfaceHolder
+ * callback will be used to tell you about state changes to the surface.
+ */
+ public abstract void takeSurface(SurfaceHolder.Callback callback);
+
+ /**
* Return whether this window is being displayed with a floating style
* (based on the {@link android.R.attr#windowIsFloating} attribute in
* the style/theme).