Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa8712bc authored by Jeremy Klein's avatar Jeremy Klein
Browse files

Remove the unused Looper param from Tethering constructor.

Tethering just constructs its own Looper right below where it
assigns the looper param to mLooper.

Change-Id: I2d522942eff2ad3439bb3961e78ab0625d3fa9df
parent b7cf50cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);

+1 −2
Original line number Diff line number Diff line
@@ -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();