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

Commit 9bba6fab authored by Raphael Kim's avatar Raphael Kim Committed by Android (Google) Code Review
Browse files

Merge "Update discovery timeout hard limit from 3 mins to 5 mins." into main

parents 7fac4b7b e5f2fffd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public class CompanionDeviceDiscoveryService extends Service {

    private static final String SYS_PROP_DEBUG_TIMEOUT = "debug.cdm.discovery_timeout";
    private static final long TIMEOUT_SOFT = 20_000L; // 20 seconds
    private static final long TIMEOUT_HARD = 180_000L; // 3 minutes
    private static final long TIMEOUT_HARD = 300_000L; // 5 minutes
    private static final long TIMEOUT_MIN = 1_000L; // 1 sec
    private static final long TIMEOUT_MAX = 60_000L; // 1 min