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 | 55fa25161a7626ae6a15bc2cc46e22771455ed80 (patch) | |
tree | 415784ce2ab3126dd1d8a081c70bd811aca1add4 /libs/ui | |
parent | e156e6478f8393dc519a903d48ef09b3eabf32ad (diff) | |
download | frameworks_native-55fa25161a7626ae6a15bc2cc46e22771455ed80.zip frameworks_native-55fa25161a7626ae6a15bc2cc46e22771455ed80.tar.gz frameworks_native-55fa25161a7626ae6a15bc2cc46e22771455ed80.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; |