diff options
author | 2010-03-11 15:06:54 -0800 | |
---|---|---|
committer | 2010-03-11 15:06:54 -0800 | |
commit | 55fa25161a7626ae6a15bc2cc46e22771455ed80 (patch) | |
tree | 415784ce2ab3126dd1d8a081c70bd811aca1add4 /libs/ui/FramebufferNativeWindow.cpp | |
parent | e156e6478f8393dc519a903d48ef09b3eabf32ad (diff) |
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/FramebufferNativeWindow.cpp')
-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 1fa2c68f2a..52380a077c 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; |