cts: Use set/getPassphrase to replace set/getWpa2Passphrase
Bug: 142752869 Test: atest android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotSingleRequestByApps android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotSuccess android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotWithConfig Change-Id: Iea9f797373b9b8ebae90428edb2da8b1f3d48efb
This commit is contained in:
@@ -740,7 +740,7 @@ public class WifiManagerTest extends AndroidTestCase {
|
||||
SoftApConfiguration customConfig = new SoftApConfiguration.Builder()
|
||||
.setBssid(TEST_MAC)
|
||||
.setSsid(TEST_SSID_UNQUOTED)
|
||||
.setWpa2Passphrase(TEST_PASSPHRASE)
|
||||
.setPassphrase(TEST_PASSPHRASE, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK)
|
||||
.build();
|
||||
TestExecutor executor = new TestExecutor();
|
||||
TestLocalOnlyHotspotCallback callback = new TestLocalOnlyHotspotCallback(mLOHSLock);
|
||||
|
||||
Reference in New Issue
Block a user