diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2012-09-19 16:12:18 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2012-09-19 16:12:18 -0700 |
commit | 9d5f5c2a6a2af953de5b091e00bf59cae7f8d481 (patch) | |
tree | f7da076496b80024ad4042d527bee4bff19a4d0b /services/camera/libcameraservice | |
parent | d5a9ae029b50678de3b468d8324728a73ff5b0aa (diff) | |
download | frameworks_av-9d5f5c2a6a2af953de5b091e00bf59cae7f8d481.zip frameworks_av-9d5f5c2a6a2af953de5b091e00bf59cae7f8d481.tar.gz frameworks_av-9d5f5c2a6a2af953de5b091e00bf59cae7f8d481.tar.bz2 |
Camera2: Increase max timeout for the precapture sequence.
Increase maximum duration of the precapture sequence (final metering +
preflash + redeye reduction) to 2 seconds before timing out.
Change-Id: Ie1de4e96d46599eb53e1def9052b211e684f1fbc
Diffstat (limited to 'services/camera/libcameraservice')
-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 c5c5654..474bdac 100644 --- a/services/camera/libcameraservice/camera2/CaptureSequencer.h +++ b/services/camera/libcameraservice/camera2/CaptureSequencer.h @@ -92,7 +92,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 kMaxTimeoutsForPrecaptureEnd = 20; // 2 sec static const int kMaxTimeoutsForCaptureEnd = 40; // 4 sec wp<Camera2Client> mClient; |