Remove dead code, mostly DataStateTracker.
Change-Id: I1433937bffdb29bd42fb1adbfcf0a50ceffac7dd
This commit is contained in:
@@ -1792,25 +1792,6 @@ public class ConnectivityManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a secondary requirement bit for the given networkType.
|
||||
* This requirement bit is generally under the control of the carrier
|
||||
* or its agents and is not directly controlled by the user.
|
||||
*
|
||||
* @param networkType The network who's dependence has changed
|
||||
* @param met Boolean - true if network use is OK, false if not
|
||||
*
|
||||
* <p>This method requires the call to hold the permission
|
||||
* {@link android.Manifest.permission#CONNECTIVITY_INTERNAL}.
|
||||
* {@hide}
|
||||
*/
|
||||
public void setDataDependency(int networkType, boolean met) {
|
||||
try {
|
||||
mService.setDataDependency(networkType, met);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the hardware supports the given network type
|
||||
* else it returns false. This doesn't indicate we have coverage
|
||||
@@ -1891,20 +1872,6 @@ public class ConnectivityManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Supply the backend messenger for a network tracker
|
||||
*
|
||||
* @param networkType NetworkType to set
|
||||
* @param messenger {@link Messenger}
|
||||
* {@hide}
|
||||
*/
|
||||
public void supplyMessenger(int networkType, Messenger messenger) {
|
||||
try {
|
||||
mService.supplyMessenger(networkType, messenger);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check mobile provisioning.
|
||||
*
|
||||
|
||||
@@ -102,8 +102,6 @@ interface IConnectivityManager
|
||||
|
||||
ProxyInfo getDefaultProxy();
|
||||
|
||||
void setDataDependency(int networkType, boolean met);
|
||||
|
||||
boolean prepareVpn(String oldPackage, String newPackage);
|
||||
|
||||
void setVpnPackageAuthorization(boolean authorized);
|
||||
@@ -120,8 +118,6 @@ interface IConnectivityManager
|
||||
|
||||
void captivePortalCheckCompleted(in NetworkInfo info, boolean isCaptivePortal);
|
||||
|
||||
void supplyMessenger(int networkType, in Messenger messenger);
|
||||
|
||||
int findConnectionTypeForIface(in String iface);
|
||||
|
||||
int checkMobileProvisioning(int suggestedTimeOutMs);
|
||||
|
||||
Reference in New Issue
Block a user