diff options
Diffstat (limited to 'camera/ICamera.cpp')
-rw-r--r-- | camera/ICamera.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/ICamera.cpp b/camera/ICamera.cpp index 732c204..12356f0 100644 --- a/camera/ICamera.cpp +++ b/camera/ICamera.cpp @@ -66,6 +66,7 @@ public: Parcel data, reply; data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); remote()->transact(DISCONNECT, data, &reply); + reply.readExceptionCode(); } // pass the buffered IGraphicBufferProducer to the camera service @@ -281,6 +282,7 @@ status_t BnCamera::onTransact( ALOGV("DISCONNECT"); CHECK_INTERFACE(ICamera, data, reply); disconnect(); + reply->writeNoException(); return NO_ERROR; } break; case SET_PREVIEW_TEXTURE: { |