Merge "Fix "NetworkCallback was not registered" crash" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-05-31 22:16:47 +00:00
committed by Android (Google) Code Review

View File

@@ -599,6 +599,7 @@ class GnssNetworkConnectivityHandler {
SUPL_NETWORK_REQUEST_TIMEOUT_MILLIS); SUPL_NETWORK_REQUEST_TIMEOUT_MILLIS);
} catch (RuntimeException e) { } catch (RuntimeException e) {
Log.e(TAG, "Failed to request network.", e); Log.e(TAG, "Failed to request network.", e);
mSuplConnectivityCallback = null;
handleReleaseSuplConnection(GPS_AGPS_DATA_CONN_FAILED); handleReleaseSuplConnection(GPS_AGPS_DATA_CONN_FAILED);
} }
} }