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

Commit eaae6343 authored by Wayne Lin's avatar Wayne Lin
Browse files

Extend SUPL network request timeout for consecutive SUPL request

Extend timeout more than telephony retry timer to prevent CS release 2nd request before retry.

Bug: 159772456
Test: Consecutive emergency NI SUPL test, emergency NI SUPL test with/without SIM and SI SUPL test
Change-Id: Ib3e1f394adda6c2c2eacc38df941cc5e9fd8370d
parent c453c4af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ class GnssNetworkConnectivityHandler {

    // Default time limit in milliseconds for the ConnectivityManager to find a suitable
    // network with SUPL connectivity or report an error.
    private static final int SUPL_NETWORK_REQUEST_TIMEOUT_MILLIS = 10 * 1000;
    private static final int SUPL_NETWORK_REQUEST_TIMEOUT_MILLIS = 20 * 1000;

    private static final int HASH_MAP_INITIAL_CAPACITY_TO_TRACK_CONNECTED_NETWORKS = 5;