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

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

Merge "SoftApCallback using executor vs handler"

am: 60bd8164

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


import java.util.List;
import java.util.List;


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


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


    public void unRegisterSoftApCallback() {
    public void unRegisterSoftApCallback() {