diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-07-02 07:43:31 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-07-02 07:43:31 -0700 |
commit | 7df7447112371fb5e46f6084b55ac2ccdfde139d (patch) | |
tree | 69c18f0b867bb8e219f5f5817ea629d0b46c82c1 | |
parent | f80372dbc0f4a1b80bebfe5f5124de8d31e0996b (diff) | |
parent | fe1bac67620bec6aa05d0b5100fc6372d98ba178 (diff) | |
download | frameworks_base-7df7447112371fb5e46f6084b55ac2ccdfde139d.zip frameworks_base-7df7447112371fb5e46f6084b55ac2ccdfde139d.tar.gz frameworks_base-7df7447112371fb5e46f6084b55ac2ccdfde139d.tar.bz2 |
Merge "Flush binder buffer after setting raw heap to avoid leaking a reference." into froyo
-rw-r--r-- | camera/libcameraservice/CameraService.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/libcameraservice/CameraService.cpp b/camera/libcameraservice/CameraService.cpp index 00bd54e..2690182 100644 --- a/camera/libcameraservice/CameraService.cpp +++ b/camera/libcameraservice/CameraService.cpp @@ -935,6 +935,7 @@ void CameraService::Client::handleShutter( mHardware->getRawHeap()); mSurface->registerBuffers(buffers); + IPCThreadState::self()->flushCommands(); } } |