Fix DUN-based tethering.

It was calling into dead ConnectivityService code rather than using
the new ConnectivityManager shim code.

bug:15221541
Change-Id: I1e3eea8a658a162ce36673ed1cf7b1e7e4372c42
This commit is contained in:
Robert Greenwalt
2014-07-23 11:44:01 -07:00
parent 50eb5e72ea
commit abbc41e859
2 changed files with 2 additions and 2 deletions

View File

@@ -1196,7 +1196,7 @@ public class ConnectivityManager {
};
}
private HashMap<NetworkCapabilities, LegacyRequest> sLegacyRequests =
private static HashMap<NetworkCapabilities, LegacyRequest> sLegacyRequests =
new HashMap<NetworkCapabilities, LegacyRequest>();
private NetworkRequest findRequestForFeature(NetworkCapabilities netCap) {

View File

@@ -788,7 +788,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
}
}
mTethering = new Tethering(mContext, mNetd, statsService, this, mHandler.getLooper());
mTethering = new Tethering(mContext, mNetd, statsService, mHandler.getLooper());
//set up the listener for user state for creating user VPNs
IntentFilter intentFilter = new IntentFilter();