diff options
author | Akwasi Boateng <akwasi.boateng@ti.com> | 2011-11-22 14:05:22 -0600 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-12-01 12:20:10 -0800 |
commit | bf20bcd681ad3c466099f45334bf639da9baedd0 (patch) | |
tree | 3f3c5a7e8402a2f3a68c7ac7d71f7a6a92347505 /camera | |
parent | 7a1746145a89cca0dafe26478a7675c15d5623a3 (diff) | |
download | hardware_ti_omap4xxx-bf20bcd681ad3c466099f45334bf639da9baedd0.zip hardware_ti_omap4xxx-bf20bcd681ad3c466099f45334bf639da9baedd0.tar.gz hardware_ti_omap4xxx-bf20bcd681ad3c466099f45334bf639da9baedd0.tar.bz2 |
CameraHAL: Exit Appcallback thread immediately.
Allow appcallback thread to exit immediately when exit command is processed.
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
Change-Id: I83db309cf973e1ce9494c855430897a0c41704d8
Diffstat (limited to 'camera')
-rw-r--r-- | camera/AppCallbackNotifier.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camera/AppCallbackNotifier.cpp b/camera/AppCallbackNotifier.cpp index 201460d..c845796 100644 --- a/camera/AppCallbackNotifier.cpp +++ b/camera/AppCallbackNotifier.cpp @@ -285,7 +285,8 @@ bool AppCallbackNotifier::notificationThread() CAMHAL_LOGDA("Notification Thread received message from Camera HAL"); shouldLive = processMessage(); if(!shouldLive) { - CAMHAL_LOGDA("Notification Thread exiting."); + CAMHAL_LOGDA("Notification Thread exiting."); + return shouldLive; } } |