Remove unused api.

bug:15595155
Change-Id: Ifd79365bd45f20f531782244f471a4cfc32a4135
This commit is contained in:
Robert Greenwalt
2014-07-02 09:59:16 -07:00
parent c8e3a7176f
commit e0b0051472
3 changed files with 5 additions and 30 deletions

View File

@@ -3620,12 +3620,11 @@ public class ConnectivityService extends IConnectivityManager.Stub {
mTethering.getUpstreamIfaceTypes().length != 0);
}
// An API NetworkStateTrackers can call when they lose their network.
// This will automatically be cleared after X seconds or a network becomes CONNECTED,
// whichever happens first. The timer is started by the first caller and not
// restarted by subsequent callers.
public void requestNetworkTransitionWakelock(String forWhom) {
enforceConnectivityInternalPermission();
// Called when we lose the default network and have no replacement yet.
// This will automatically be cleared after X seconds or a new default network
// becomes CONNECTED, whichever happens first. The timer is started by the
// first caller and not restarted by subsequent callers.
private void requestNetworkTransitionWakelock(String forWhom) {
int serialNum = 0;
synchronized (this) {
if (mNetTransitionWakeLock.isHeld()) return;