Merge "Extend SUPL network request timeout for consecutive SUPL request" into rvc-d1-dev am: db9c531910 am: 5b908d36a3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12279987

Change-Id: I3d0df59908e742b03c930360c12b35c1fa5cf0d3
This commit is contained in:
Wayne Lin
2020-08-06 04:32:45 +00:00
committed by Automerger Merge Worker

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;