mirror of
https://github.com/zxing/zxing.git
synced 2025-01-13 04:07:27 -08:00
Remove an unused variable from the WifiReceiver class.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1918 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
44046e24c6
commit
e0b5697fa0
|
@ -227,7 +227,7 @@ public final class WifiActivity extends Activity {
|
|||
wifiManager.setWifiEnabled(true);
|
||||
|
||||
// So we know when the network changes
|
||||
wifiReceiver = new WifiReceiver(wifiManager, this, statusView, ssid);
|
||||
wifiReceiver = new WifiReceiver(wifiManager, this, statusView);
|
||||
|
||||
// The order matters!
|
||||
mWifiStateFilter = new IntentFilter(WifiManager.WIFI_STATE_CHANGED_ACTION);
|
||||
|
|
|
@ -39,9 +39,7 @@ final class WifiReceiver extends BroadcastReceiver {
|
|||
private final WifiActivity parent;
|
||||
private final TextView statusView;
|
||||
|
||||
// FIXME: Why is ssid ignored here?
|
||||
WifiReceiver(WifiManager wifiManager, WifiActivity wifiActivity, TextView statusView,
|
||||
String ssid) {
|
||||
WifiReceiver(WifiManager wifiManager, WifiActivity wifiActivity, TextView statusView) {
|
||||
this.parent = wifiActivity;
|
||||
this.statusView = statusView;
|
||||
this.mWifiManager = wifiManager;
|
||||
|
|
Loading…
Reference in a new issue