Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f266efe authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera2: Increase capture timeout.

Low-light modes may take longer to capture a picture, so increase the
timeouts.

Change-Id: Id50b1e4fd3186da4e75b2cc1c226ced2f8d394ac
parent b845c6b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;