diff options
author | Rebecca Silberstein <silberst@google.com> | 2018-05-08 18:22:52 -0700 |
---|---|---|
committer | Rebecca Silberstein <silberst@google.com> | 2018-05-08 18:22:52 -0700 |
commit | fdd8945c3952dd368918e24c84028f19092fc663 (patch) | |
tree | 6ec3261c848752051f150db02b88983c6510ff89 /tests | |
parent | 43b4bb291800401b67daf50156f8d04c64569c21 (diff) |
SoftApManager: no teardown when iface destroyed
When softap mode shuts down due to the iface being destroyed, no need to
explicitly call to teardown the iface.
Bug: 79441131
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: manually toggled wifi and tethering to verify client mode came up
Change-Id: I03a75b4569d4e86fd01a1ec0e144865a789a2bc9
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java b/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java index 759d8dd0b..7534f78ce 100644 --- a/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java +++ b/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java @@ -498,7 +498,7 @@ public class SoftApManagerTest { order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), eq(UserHandle.ALL)); checkApStateChangedBroadcast(intentCaptor.getValue(), WIFI_AP_STATE_DISABLED, - WIFI_AP_STATE_DISABLING, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, + WIFI_AP_STATE_DISABLING, HOTSPOT_NO_ERROR, null, softApModeConfig.getTargetMode()); } |