summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2013-06-17 13:29:16 -0700
committerEino-Ville Talvala <etalvala@google.com>2013-06-17 13:29:16 -0700
commit241b52798809d8db3d369af05ace1f73f723f29b (patch)
tree882168e7655983199dc6c31544965abf7628b6ce /services
parent26bc908b3dafb5d80f092a22c5c71116526eae06 (diff)
downloadframeworks_av-241b52798809d8db3d369af05ace1f73f723f29b.zip
frameworks_av-241b52798809d8db3d369af05ace1f73f723f29b.tar.gz
frameworks_av-241b52798809d8db3d369af05ace1f73f723f29b.tar.bz2
Camera3: Power: Properly shut down unused thread.
Bug: 9466221 Change-Id: I9ed0740561b2e04954eebc1b8aec89cfab40a3a0
Diffstat (limited to 'services')
-rw-r--r--services/camera/libcameraservice/camera2/ZslProcessor3.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/services/camera/libcameraservice/camera2/ZslProcessor3.cpp b/services/camera/libcameraservice/camera2/ZslProcessor3.cpp
index 2e06691..40c77df 100644
--- a/services/camera/libcameraservice/camera2/ZslProcessor3.cpp
+++ b/services/camera/libcameraservice/camera2/ZslProcessor3.cpp
@@ -329,8 +329,9 @@ void ZslProcessor3::dump(int fd, const Vector<String16>& /*args*/) const {
}
bool ZslProcessor3::threadLoop() {
- // TODO: remove dependency on thread
- return true;
+ // TODO: remove dependency on thread. For now, shut thread down right
+ // away.
+ return false;
}
void ZslProcessor3::dumpZslQueue(int fd) const {