Implement receiver flow of WiFi sharing feature II
Bug: 120630683 Test: atest RunSettingsRoboTests Change-Id: Iabe56205ff9274382adbe5bba59a60d833a57214
This commit is contained in:
@@ -549,11 +549,8 @@ public class WifiDetailPreferenceController extends AbstractPreferenceController
|
||||
* Show QR code to share the network represented by this preference.
|
||||
*/
|
||||
public void launchQRCodeGenerator() {
|
||||
final Intent intent = new Intent(
|
||||
WifiDppConfiguratorActivity.ACTION_CONFIGURATOR_QR_CODE_GENERATOR);
|
||||
intent.putExtra(WifiDppUtils.EXTRA_WIFI_SECURITY,
|
||||
Intent intent = WifiDppUtils.getConfiguratorQrCodeGeneratorIntent(mAccessPoint.getSsidStr(),
|
||||
mAccessPoint.getSecurityString(/* concise */ false));
|
||||
intent.putExtra(WifiDppUtils.EXTRA_WIFI_SSID, mAccessPoint.getSsidStr());
|
||||
mContext.startActivity(intent);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user