commit | ff7d499b18763f057e52ed84941bb7e9c81511bd | [log] [tgz] |
---|---|---|
author | James Mattis <jmattis@google.com> | Fri Nov 15 15:35:43 2019 -0800 |
committer | android-build-merger <android-build-merger@google.com> | Fri Nov 15 15:35:43 2019 -0800 |
tree | 6e15ed3823bca5a4cd40949c123bd37ec4fb152d | |
parent | 418ef9973e67f5a72d4ed010ccc6c8a030a860e3 [diff] | |
parent | 60bd816476ec2bddf916c04f496e48645b2858b2 [diff] |
Merge "SoftApCallback using executor vs handler" am: 60bd816476 Change-Id: Ie1fa6d76883ed5ee1a9e4390637a8f514e4cdbdf
diff --git a/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java b/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java index 1a805bd..3de5869 100644 --- a/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java +++ b/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java
@@ -3,6 +3,7 @@ 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 void registerSoftApCallback() { - mWifiManager.registerSoftApCallback(mSoftApCallback, mHandler); + mWifiManager.registerSoftApCallback(mSoftApCallback, new HandlerExecutor(mHandler)); } public void unRegisterSoftApCallback() {