Commit 18302e1c authored by Mygod's avatar Mygod

Refine code style

parent 340e9cff
...@@ -28,9 +28,7 @@ run in Android := (run in (mobile, Android)).evaluated ...@@ -28,9 +28,7 @@ run in Android := (run in (mobile, Android)).evaluated
lazy val plugin = project lazy val plugin = project
.settings(commonSettings) .settings(commonSettings)
.settings( .settings(
libraryDependencies ++= libraryDependencies += "com.android.support" % "preference-v14" % supportLibsVersion
"com.android.support" % "preference-v14" % supportLibsVersion ::
Nil
) )
lazy val mobile = project lazy val mobile = project
......
...@@ -161,8 +161,7 @@ class ShadowsocksVpnService extends VpnService with BaseService { ...@@ -161,8 +161,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
} }
} }
override protected def buildPluginCommandLine(): ArrayBuffer[String] = override protected def buildPluginCommandLine(): ArrayBuffer[String] = super.buildPluginCommandLine() += "-V"
super.buildPluginCommandLine() ++= Seq("-V")
def startShadowsocksDaemon() { def startShadowsocksDaemon() {
val cmd = ArrayBuffer[String](getApplicationInfo.nativeLibraryDir + "/libss-local.so", val cmd = ArrayBuffer[String](getApplicationInfo.nativeLibraryDir + "/libss-local.so",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment