mirror of
https://github.com/DanielPollithy/flashwifi.git
synced 2025-10-16 11:45:32 +00:00
no context leak
This commit is contained in:
parent
9ed229e7b4
commit
ac81a74b51
@ -23,7 +23,7 @@ public class ConnectTask extends AsyncTask<Context, Void, String> {
|
||||
|
||||
@Override
|
||||
protected String doInBackground(Context... params) {
|
||||
context = params[0];
|
||||
Context context = params[0];
|
||||
WifiManager wifiManager = (WifiManager) context.getSystemService(WIFI_SERVICE);
|
||||
|
||||
WifiConfiguration wifiConfig = new WifiConfiguration();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user