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

Commit 37e320ff authored by William Escande's avatar William Escande
Browse files

Reduce synchronous call timeout

5 Sec is considered as ANR from ui point of view. We should timeout
before

Bug: 276460413
Test: None
Change-Id: I36c57767e19e2477c482bfadcb9f36a6f185df76
parent c0576d7c
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -35,10 +35,8 @@ public final class BluetoothUtils {
     */
    private BluetoothUtils() {}

    /**
     * Timeout value for synchronous binder call
     */
    private static final Duration SYNC_CALLS_TIMEOUT = Duration.ofSeconds(5);
    /** Timeout value for synchronous binder call */
    private static final Duration SYNC_CALLS_TIMEOUT = Duration.ofSeconds(3);

    /**
     * @return timeout value for synchronous binder call