diff options
author | Mathias Agopian <mathias@google.com> | 2011-07-29 17:55:48 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-08-01 14:06:20 -0700 |
commit | 81a63350527cafce6929309533c58586878f10b5 (patch) | |
tree | 0608c55d931252200d06b3930e35d6422ee5493b /libs/ui/FramebufferNativeWindow.cpp | |
parent | 003b7ffbb27a7ce68e9c4086e1305f2c7703caeb (diff) | |
download | frameworks_native-81a63350527cafce6929309533c58586878f10b5.zip frameworks_native-81a63350527cafce6929309533c58586878f10b5.tar.gz frameworks_native-81a63350527cafce6929309533c58586878f10b5.tar.bz2 |
connect/disconnect is now called from our EGL wrapper
the original connect/disconnect hooks are deprecated
and replace by api_connect/api_disconnect. the original
hooks are no no-ops.
api_connect/api_disconnect is now only called from the
android framework.
Bug: 5057915
Change-Id: I8ca64cd1acd6cabf915bf54689ec2e5f6dfa495a
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 0e8ae61..8949730 100644 --- a/libs/ui/FramebufferNativeWindow.cpp +++ b/libs/ui/FramebufferNativeWindow.cpp @@ -317,6 +317,8 @@ int FramebufferNativeWindow::perform(ANativeWindow* window, case NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS: case NATIVE_WINDOW_SET_BUFFERS_FORMAT: case NATIVE_WINDOW_SET_BUFFERS_TRANSFORM: + case NATIVE_WINDOW_API_CONNECT: + case NATIVE_WINDOW_API_DISCONNECT: // TODO: we should implement these return NO_ERROR; |