diff --git a/android/src/com/google/zxing/client/android/wifi/WifiActivity.java b/android/src/com/google/zxing/client/android/wifi/WifiActivity.java index 0654d8680..3b246a8ff 100644 --- a/android/src/com/google/zxing/client/android/wifi/WifiActivity.java +++ b/android/src/com/google/zxing/client/android/wifi/WifiActivity.java @@ -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); diff --git a/android/src/com/google/zxing/client/android/wifi/WifiReceiver.java b/android/src/com/google/zxing/client/android/wifi/WifiReceiver.java index 5e095ecf6..71bdbacb7 100644 --- a/android/src/com/google/zxing/client/android/wifi/WifiReceiver.java +++ b/android/src/com/google/zxing/client/android/wifi/WifiReceiver.java @@ -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;