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

Commit 9df1e7db authored by James Mattis's avatar James Mattis Committed by android-build-merger
Browse files

Merge "SoftApCallback using executor vs handler" am: 60bd8164

am: ff7d499b

Change-Id: Ifa47abf1b3c0243cf9212006ef54d8190087dc87
parents 6a4c0e36 ff7d499b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ package com.android.settings.wifi.tether;
import android.net.wifi.WifiClient;
import android.net.wifi.WifiManager;
import android.os.Handler;
import android.os.HandlerExecutor;

import java.util.List;

@@ -35,7 +36,7 @@ public class WifiTetherSoftApManager {
    }

    public void registerSoftApCallback() {
        mWifiManager.registerSoftApCallback(mSoftApCallback, mHandler);
        mWifiManager.registerSoftApCallback(mSoftApCallback, new HandlerExecutor(mHandler));
    }

    public void unRegisterSoftApCallback() {