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:
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user