Merge "Remove the unused Looper param from Tethering constructor."

This commit is contained in:
Jeremy Klein
2016-01-27 20:54:01 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 3 deletions

View File

@@ -745,7 +745,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
mTestMode = SystemProperties.get("cm.test.mode").equals("true")
&& SystemProperties.get("ro.build.type").equals("eng");
mTethering = new Tethering(mContext, mNetd, statsService, mHandler.getLooper());
mTethering = new Tethering(mContext, mNetd, statsService);
mPermissionMonitor = new PermissionMonitor(mContext, mNetd);

View File

@@ -153,11 +153,10 @@ public class Tethering extends BaseNetworkObserver {
// when RNDIS is enabled
public Tethering(Context context, INetworkManagementService nmService,
INetworkStatsService statsService, Looper looper) {
INetworkStatsService statsService) {
mContext = context;
mNMService = nmService;
mStatsService = statsService;
mLooper = looper;
mPublicSync = new Object();