This commit is contained in:
Max Lv
2016-07-08 11:42:10 +08:00
parent ae1e396a5d
commit a21d099a34
2 changed files with 2 additions and 9 deletions
@@ -117,7 +117,7 @@ trait BaseService extends Service {
}
def checkProfile(profile: Profile) = if (TextUtils.isEmpty(profile.host) || TextUtils.isEmpty(profile.password)) {
changeState(State.STOPPED)
changeState(State.STOPPED, getString(R.string.proxy_empty))
stopRunner(true)
false
} else true