Revert "Refine #530 again and again" and probably fix #530

This reverts commit b833cb6267.
This commit is contained in:
Mygod
2016-07-12 15:56:32 +08:00
parent b833cb6267
commit c92d66d9f3
4 changed files with 7 additions and 8 deletions
@@ -114,6 +114,8 @@ trait BaseService extends Service {
case _ => Log.w(BaseService.this.getClass.getSimpleName, "Illegal state when invoking use: " + state)
}
})
override def useSync(profileId: Int) = use(profileId)
}
def checkProfile(profile: Profile) = if (TextUtils.isEmpty(profile.host) || TextUtils.isEmpty(profile.password)) {