am 4b1bdc02: Merge "DO NOT MERGE Fixing Connectivity" into gingerbread
Merge commit '4b1bdc0209650436ebe0dad1020080cc891e97b6' into gingerbread-plus-aosp * commit '4b1bdc0209650436ebe0dad1020080cc891e97b6': DO NOT MERGE Fixing Connectivity
This commit is contained in:
@@ -102,7 +102,8 @@ public class DefaultPhoneNotifier implements PhoneNotifier {
|
||||
sender.getActiveApnTypes(),
|
||||
sender.getInterfaceName(null),
|
||||
((telephony!=null) ? telephony.getNetworkType() :
|
||||
TelephonyManager.NETWORK_TYPE_UNKNOWN));
|
||||
TelephonyManager.NETWORK_TYPE_UNKNOWN),
|
||||
sender.getGateway(null));
|
||||
} catch (RemoteException ex) {
|
||||
// system process is dead
|
||||
}
|
||||
|
||||
@@ -32,7 +32,8 @@ interface ITelephonyRegistry {
|
||||
void notifyCallForwardingChanged(boolean cfi);
|
||||
void notifyDataActivity(int state);
|
||||
void notifyDataConnection(int state, boolean isDataConnectivityPossible,
|
||||
String reason, String apn, in String[] apnTypes, String interfaceName, int networkType);
|
||||
String reason, String apn, in String[] apnTypes, String interfaceName, int networkType,
|
||||
String gateway);
|
||||
void notifyDataConnectionFailed(String reason);
|
||||
void notifyCellLocation(in Bundle cellLocation);
|
||||
}
|
||||
|
||||
@@ -103,6 +103,7 @@ public interface Phone {
|
||||
static final String DATA_APN_KEY = "apn";
|
||||
|
||||
static final String DATA_IFACE_NAME_KEY = "iface";
|
||||
static final String DATA_GATEWAY_KEY = "gateway";
|
||||
static final String NETWORK_UNAVAILABLE_KEY = "networkUnvailable";
|
||||
static final String PHONE_IN_ECM_STATE = "phoneinECMState";
|
||||
|
||||
|
||||
@@ -104,7 +104,8 @@ public class SipPhoneNotifier implements PhoneNotifier {
|
||||
sender.getActiveApnTypes(),
|
||||
sender.getInterfaceName(null),
|
||||
((telephony!=null) ? telephony.getNetworkType() :
|
||||
TelephonyManager.NETWORK_TYPE_UNKNOWN));
|
||||
TelephonyManager.NETWORK_TYPE_UNKNOWN),
|
||||
sender.getGateway(null));
|
||||
} catch (RemoteException ex) {
|
||||
// system process is dead
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user