summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-07-18 14:55:58 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-07-18 14:55:58 -0700
commit6d3ccc88ee7ac92b0fbccfc7087abe9ba89862ad (patch)
tree94f2ddff2965ed09343190d8222cc98221924e39 /libs/ui/FramebufferNativeWindow.cpp
parent56ef6321a883b9beb8569c67d831e2bbebf779d2 (diff)
parent8f9dbf9e13b927de2524116c30544f7dfbbbf56c (diff)
Merge "move lock/unlock implementaion outside of Surface into SurfaceTextureClient"
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
-rw-r--r--libs/ui/FramebufferNativeWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp
index 9c10c754ba..794747d654 100644
--- a/libs/ui/FramebufferNativeWindow.cpp
+++ b/libs/ui/FramebufferNativeWindow.cpp
@@ -303,6 +303,10 @@ int FramebufferNativeWindow::perform(ANativeWindow* window,
case NATIVE_WINDOW_CONNECT:
case NATIVE_WINDOW_DISCONNECT:
break;
+ case NATIVE_WINDOW_LOCK:
+ return INVALID_OPERATION;
+ case NATIVE_WINDOW_UNLOCK_AND_POST:
+ return INVALID_OPERATION;
default:
return NAME_NOT_FOUND;
}