Refactor: Updated LocalFileTransfer to open WiFi settings page

Instead of the general 'Wireless' settings page, incase the wifi hasn't been turned on for file transfer
This commit is contained in:
Aditya-Sood 2019-06-24 23:29:54 +05:30
parent fa5cdf8f5c
commit 8ba431d00a

View File

@ -350,7 +350,7 @@ public class LocalFileTransferActivity extends AppCompatActivity implements Wifi
@Override
public void onClick(DialogInterface paramDialogInterface, int paramInt) {
paramDialogInterface.cancel();
startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
}
})
.setNegativeButton("No", new DialogInterface.OnClickListener() {