From def3e9f734dc73bd737d881752a1763dc2751683 Mon Sep 17 00:00:00 2001 From: James Mattis Date: Tue, 12 Nov 2019 17:47:21 -0800 Subject: [PATCH] Swap param order in registerSoftApCallback Moving executor to be the first argument in registerSoftApCallback. Bug: 144379300 Test: Manually on pixel 3 Change-Id: I5563c1059cc04014a0fd909e2508f7bf497d708e Merged-In: I5563c1059cc04014a0fd909e2508f7bf497d708e --- .../android/settings/wifi/tether/WifiTetherSoftApManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java b/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java index 3de5869b7ff..2db037fdd0a 100644 --- a/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java +++ b/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java @@ -36,7 +36,7 @@ public class WifiTetherSoftApManager { } public void registerSoftApCallback() { - mWifiManager.registerSoftApCallback(mSoftApCallback, new HandlerExecutor(mHandler)); + mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); } public void unRegisterSoftApCallback() {