Make WifiDppEnrolleeActivity launches explicit
Bug: 180518134 Test: make RunSettingsRoboTests \ ROBOTEST_FILTER=WifiDppUtilsTest\|WifiDialogActivityTest Test: Manually verified b/180518134 attack is no longer possible Change-Id: I8c4e1e17117582c78671d0e4658bd87715a9a046
This commit is contained in:
@@ -59,7 +59,7 @@ public class AddWifiNetworkPreference extends Preference {
|
||||
getContext().getString(R.string.wifi_dpp_scan_qr_code));
|
||||
scanButton.setOnClickListener(view -> {
|
||||
getContext().startActivity(
|
||||
WifiDppUtils.getEnrolleeQrCodeScannerIntent(/* ssid */ null));
|
||||
WifiDppUtils.getEnrolleeQrCodeScannerIntent(getContext(), /* ssid */ null));
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user