diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2012-09-18 16:01:11 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2012-09-18 17:57:46 -0700 |
commit | 59ab044774bf7fd0b841087212078babb4451eb8 (patch) | |
tree | afbe9382c8beda21a2de4bdaa03b4ee838312f6e /services | |
parent | 482136a5f977056eeffe2aa58d31ce395be562a3 (diff) | |
download | frameworks_av-59ab044774bf7fd0b841087212078babb4451eb8.zip frameworks_av-59ab044774bf7fd0b841087212078babb4451eb8.tar.gz frameworks_av-59ab044774bf7fd0b841087212078babb4451eb8.tar.bz2 |
Camera2: Increase capture timeout.
Low-light modes may take longer to capture a picture, so increase the
timeouts.
Change-Id: Id50b1e4fd3186da4e75b2cc1c226ced2f8d394ac
Diffstat (limited to 'services')
-rw-r--r-- | services/camera/libcameraservice/camera2/CaptureSequencer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/camera2/CaptureSequencer.h b/services/camera/libcameraservice/camera2/CaptureSequencer.h index 39ae079..c5c5654 100644 --- a/services/camera/libcameraservice/camera2/CaptureSequencer.h +++ b/services/camera/libcameraservice/camera2/CaptureSequencer.h @@ -93,7 +93,7 @@ class CaptureSequencer: static const nsecs_t kWaitDuration = 100000000; // 100 ms static const int kMaxTimeoutsForPrecaptureStart = 2; // 200 ms static const int kMaxTimeoutsForPrecaptureEnd = 10; // 1 sec - static const int kMaxTimeoutsForCaptureEnd = 20; // 2 sec + static const int kMaxTimeoutsForCaptureEnd = 40; // 4 sec wp<Camera2Client> mClient; wp<ZslProcessor> mZslProcessor; |