Commit 217ed797 authored by Max Lv's avatar Max Lv

Output VPN error to logcat #556

parent d337f0e2
......@@ -144,6 +144,7 @@ class Shadowsocks
if (m == getString(R.string.nat_no_root)) snackbar.setAction(R.string.switch_to_vpn,
(_ => preferences.natSwitch.setChecked(false)): View.OnClickListener)
snackbar.show
Log.e(TAG, "Error to start VPN service: " + m)
}
preferences.setEnabled(true)
case State.STOPPING =>
......
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