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

Commit d9159854 authored by Caitlin Cassidy's avatar Caitlin Cassidy
Browse files

[Media TTT] Increase the default timeout to 10s, and the timeout for the

"transfer started but not finished" state to 30s.

Fixes: 240306550
Test: manual
Change-Id: I27d2e4aecbc26c2b7f990c4ee83106c6c80fe443
parent 588d1031
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,4 +27,4 @@ interface ChipInfoCommon {
    fun getTimeoutMs(): Long
}

const val DEFAULT_TIMEOUT_MILLIS = 4000L
const val DEFAULT_TIMEOUT_MILLIS = 10000L
+1 −1
Original line number Diff line number Diff line
@@ -243,6 +243,6 @@ enum class ChipStateSender(
// Give the Transfer*Triggered states a longer timeout since those states represent an active
// process and we should keep the user informed about it as long as possible (but don't allow it to
// continue indefinitely).
private const val TRANSFER_TRIGGERED_TIMEOUT_MILLIS = 15000L
private const val TRANSFER_TRIGGERED_TIMEOUT_MILLIS = 30000L

private const val TAG = "ChipStateSender"