summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceTexture.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-07-14 20:21:59 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-07-14 20:21:59 -0700
commit4a8df318b06a85a90309149ebcbff3b25077de15 (patch)
treeaeb57c5f24283e180614c3d2179e4e8810faa11c /libs/gui/ISurfaceTexture.cpp
parentaf3f1753029388315bdc3793546356d5df2a25f2 (diff)
parentd2734a5daae91869949218a322a35e7423e59a9a (diff)
Merge "fix a typo in ISurfaceTexture IPC code"
Diffstat (limited to 'libs/gui/ISurfaceTexture.cpp')
-rw-r--r--libs/gui/ISurfaceTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/ISurfaceTexture.cpp b/libs/gui/ISurfaceTexture.cpp
index ec06bc0b69a9..41434a4ba902 100644
--- a/libs/gui/ISurfaceTexture.cpp
+++ b/libs/gui/ISurfaceTexture.cpp
@@ -276,7 +276,7 @@ status_t BnSurfaceTexture::onTransact(
case DISCONNECT: {
CHECK_INTERFACE(ISurfaceTexture, data, reply);
int api = data.readInt32();
- status_t res = connect(api);
+ status_t res = disconnect(api);
reply->writeInt32(res);
return NO_ERROR;
} break;