Commit 6ae97e63 authored by Max Lv's avatar Max Lv

fix #170

parent bae0b9e7
......@@ -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)
}
......
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