Commit 5bc30e97 authored by Max Lv's avatar Max Lv

fix a UI issue

parent ff96a886
...@@ -279,6 +279,8 @@ public class ShadowsocksService extends Service { ...@@ -279,6 +279,8 @@ public class ShadowsocksService extends Service {
@Override @Override
public void run() { public void run() {
handler.sendEmptyMessage(MSG_CONNECT_START);
boolean resolved = false; boolean resolved = false;
if (isDNSProxy) { if (isDNSProxy) {
...@@ -297,8 +299,6 @@ public class ShadowsocksService extends Service { ...@@ -297,8 +299,6 @@ public class ShadowsocksService extends Service {
resolved = true; resolved = true;
} }
handler.sendEmptyMessage(MSG_CONNECT_START);
Log.d(TAG, "IPTABLES: " + Utils.getIptables()); Log.d(TAG, "IPTABLES: " + Utils.getIptables());
// Test for Redirect Support // Test for Redirect Support
......
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 to comment