mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -04:00
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:
parent
fa5cdf8f5c
commit
8ba431d00a
@ -350,7 +350,7 @@ public class LocalFileTransferActivity extends AppCompatActivity implements Wifi
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface paramDialogInterface, int paramInt) {
|
public void onClick(DialogInterface paramDialogInterface, int paramInt) {
|
||||||
paramDialogInterface.cancel();
|
paramDialogInterface.cancel();
|
||||||
startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
|
startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.setNegativeButton("No", new DialogInterface.OnClickListener() {
|
.setNegativeButton("No", new DialogInterface.OnClickListener() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user