am 48576911
: Merge from AOSP staging branch
* commit '48576911a2de25c46ecfbecdf7dcb373b70be3a5': Return error upon attempt to use non-existent APN Memory leak due to bad destroy sequence
This commit is contained in:
committed by
Android Git Automerger
commit
12174a1c62
@ -1193,8 +1193,11 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
log("startUsingNetworkFeature reconnecting to " + networkType + ": " +
|
||||
feature);
|
||||
}
|
||||
network.reconnect();
|
||||
return PhoneConstants.APN_REQUEST_STARTED;
|
||||
if (network.reconnect()) {
|
||||
return PhoneConstants.APN_REQUEST_STARTED;
|
||||
} else {
|
||||
return PhoneConstants.APN_REQUEST_FAILED;
|
||||
}
|
||||
} else {
|
||||
// need to remember this unsupported request so we respond appropriately on stop
|
||||
synchronized(this) {
|
||||
|
Reference in New Issue
Block a user