Merge from AOSP staging branch
Change-Id: Iad3df4845e6fae16c4ae6dbddcad0121d4775dcd
This commit is contained in:
commit
fe26d4e665
1 changed files with 5 additions and 2 deletions
|
|
@ -1183,8 +1183,11 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||||
log("startUsingNetworkFeature reconnecting to " + networkType + ": " +
|
log("startUsingNetworkFeature reconnecting to " + networkType + ": " +
|
||||||
feature);
|
feature);
|
||||||
}
|
}
|
||||||
network.reconnect();
|
if (network.reconnect()) {
|
||||||
return PhoneConstants.APN_REQUEST_STARTED;
|
return PhoneConstants.APN_REQUEST_STARTED;
|
||||||
|
} else {
|
||||||
|
return PhoneConstants.APN_REQUEST_FAILED;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// need to remember this unsupported request so we respond appropriately on stop
|
// need to remember this unsupported request so we respond appropriately on stop
|
||||||
synchronized(this) {
|
synchronized(this) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue