Refine code style

This commit is contained in:
Mygod
2017-01-22 16:06:47 +08:00
parent 340e9cfffa
commit 18302e1c40
2 changed files with 2 additions and 5 deletions
+1 -3
View File
@@ -28,9 +28,7 @@ run in Android := (run in (mobile, Android)).evaluated
lazy val plugin = project
.settings(commonSettings)
.settings(
libraryDependencies ++=
"com.android.support" % "preference-v14" % supportLibsVersion ::
Nil
libraryDependencies += "com.android.support" % "preference-v14" % supportLibsVersion
)
lazy val mobile = project
@@ -161,8 +161,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
}
}
override protected def buildPluginCommandLine(): ArrayBuffer[String] =
super.buildPluginCommandLine() ++= Seq("-V")
override protected def buildPluginCommandLine(): ArrayBuffer[String] = super.buildPluginCommandLine() += "-V"
def startShadowsocksDaemon() {
val cmd = ArrayBuffer[String](getApplicationInfo.nativeLibraryDir + "/libss-local.so",