Commit 5892c2a9 by pye52

修复重连状态下少传一个参数导致崩溃的问题

parent fcdb977b
...@@ -133,7 +133,7 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe ...@@ -133,7 +133,7 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
refreshWifiInfo(); refreshWifiInfo();
break; break;
case ConnectState.RECONNECTING: case ConnectState.RECONNECTING:
msg = String.format(getString(R.string.connect_reconnecting), networkType); msg = String.format(getString(R.string.connect_reconnecting), event.getHost(), networkType);
break; break;
case ConnectState.CHANGE_NETWORK: case ConnectState.CHANGE_NETWORK:
msg = String.format(getString(R.string.connect_change_network), event.getHost(), networkType); msg = String.format(getString(R.string.connect_change_network), event.getHost(), networkType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment