This commit is contained in:
Max Lv
2014-12-09 17:20:29 +08:00
parent bae0b9e746
commit 6ae97e630e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ libraryDependencies ++= Seq(
"dnsjava" % "dnsjava" % "2.1.5",
"com.github.kevinsawicki" % "http-request" % "5.6",
"commons-net" % "commons-net" % "3.3",
"com.google.zxing" % "android-integration" % "2.2"
"com.google.zxing" % "android-integration" % "3.1.0"
)
libraryDependencies ++= Seq(
@@ -593,6 +593,9 @@ class Shadowsocks
h.postDelayed(new Runnable() {
def run() {
val integrator = new IntentIntegrator(Shadowsocks.this)
val list = IntentIntegrator.TARGET_ALL_KNOWN
list.add("tw.com.quickmark")
integrator.setTargetApplications(list)
integrator.initiateScan()
h.sendEmptyMessage(0)
}