am e63411f2
: In isMobileOk don\'t execute finally if mobile data is not supported.
* commit 'e63411f28b81a0c9f7fee1d0b3a0765606c9a6f2': In isMobileOk don't execute finally if mobile data is not supported.
This commit is contained in:
@ -3732,13 +3732,13 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||||||
Random rand = new Random();
|
Random rand = new Random();
|
||||||
mParams = params;
|
mParams = params;
|
||||||
|
|
||||||
try {
|
|
||||||
if (mCs.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false) {
|
if (mCs.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false) {
|
||||||
log("isMobileOk: not mobile capable");
|
log("isMobileOk: not mobile capable");
|
||||||
result = ConnectivityManager.CMP_RESULT_CODE_NO_CONNECTION;
|
result = ConnectivityManager.CMP_RESULT_CODE_NO_CONNECTION;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
// Enable fail fast as we'll do retries here and use a
|
// Enable fail fast as we'll do retries here and use a
|
||||||
// hipri connection so the default connection stays active.
|
// hipri connection so the default connection stays active.
|
||||||
log("isMobileOk: start hipri url=" + params.mUrl);
|
log("isMobileOk: start hipri url=" + params.mUrl);
|
||||||
|
Reference in New Issue
Block a user