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
This commit is contained in:
Wayne Lin
2020-07-31 21:47:08 +08:00
parent c453c4aff9
commit eaae63437f

View File

@@ -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;