Output VPN error to logcat #556

This commit is contained in:
Max Lv
2016-01-25 20:28:11 +08:00
parent d337f0e2e4
commit 217ed797d9
@@ -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 =>