diff options
author | Mathias Agopian <mathias@google.com> | 2010-03-11 15:06:54 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-03-11 15:06:54 -0800 |
commit | 2f7540e78f2a0952ddbbd9b953e186b90f401734 (patch) | |
tree | a507541a85465b755372d2e8e638dc0fe3a5bb92 /libs/ui | |
parent | f6331a497455fdb6618bf4c634c9326695304c24 (diff) | |
download | frameworks_base-2f7540e78f2a0952ddbbd9b953e186b90f401734.zip frameworks_base-2f7540e78f2a0952ddbbd9b953e186b90f401734.tar.gz frameworks_base-2f7540e78f2a0952ddbbd9b953e186b90f401734.tar.bz2 |
implement connect/disconnect in our native_window_t implementations
the framebuffer implementation doesn't do anything special with this
but the surfaceflinger implementation makes sure the surface is not used
by two APIs simultaneously.
Change-Id: Id4ca8ef7093d68846abc2ac814327cc40a64b66b
Diffstat (limited to 'libs/ui')
-rw-r--r-- | libs/ui/FramebufferNativeWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp index 1fa2c68..52380a0 100644 --- a/libs/ui/FramebufferNativeWindow.cpp +++ b/libs/ui/FramebufferNativeWindow.cpp @@ -250,6 +250,8 @@ int FramebufferNativeWindow::perform(android_native_window_t* window, { switch (operation) { case NATIVE_WINDOW_SET_USAGE: + case NATIVE_WINDOW_CONNECT: + case NATIVE_WINDOW_DISCONNECT: break; default: return NAME_NOT_FOUND; |