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:
vikrama 2011-09-18 03:50:16 +00:00
parent 44046e24c6
commit e0b5697fa0
2 changed files with 2 additions and 4 deletions

View file

@ -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);

View file

@ -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;