Remove unnecessary app.settings param in ConfigUtils.load

This commit is contained in:
Mygod
2016-05-24 11:46:31 +08:00
parent c878d4daa6
commit 461a0bda3f
4 changed files with 21 additions and 21 deletions
@@ -62,11 +62,11 @@ class ShadowsocksRunnerService extends Service with ServiceBoundContext {
val intent = VpnService.prepare(ShadowsocksRunnerService.this)
if (intent == null) {
if (bgService != null) {
bgService.use(ConfigUtils.load(app.settings))
bgService.use(ConfigUtils.loadFromSharedPreferences)
}
}
} else {
bgService.use(ConfigUtils.load(app.settings))
bgService.use(ConfigUtils.loadFromSharedPreferences)
}
stopSelf()
}