summaryrefslogtreecommitdiffstats
path: root/libs/gui
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-07-14 20:20:58 -0700
committerMathias Agopian <mathias@google.com>2011-07-14 20:20:58 -0700
commitd2734a5daae91869949218a322a35e7423e59a9a (patch)
treedef9e702ef61d4d2929fcdcd150994e420045d5c /libs/gui
parent4838151d181a5989d51a42e6dcbba6d66d7b5165 (diff)
downloadframeworks_base-d2734a5daae91869949218a322a35e7423e59a9a.zip
frameworks_base-d2734a5daae91869949218a322a35e7423e59a9a.tar.gz
frameworks_base-d2734a5daae91869949218a322a35e7423e59a9a.tar.bz2
fix a typo in ISurfaceTexture IPC code
Change-Id: Ied1d9ddb0d849b17219d0ea3d333ce12be849419
Diffstat (limited to 'libs/gui')
-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 ec06bc0..41434a4 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;