From 1e750e45e9ee5aef2215f2f7f7e88a9f461285e6 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 29 May 2017 17:46:42 +0800 Subject: [PATCH] Roll back to Google's barcode scanner --- .../main/scala/com/github/shadowsocks/ProfilesFragment.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/main/scala/com/github/shadowsocks/ProfilesFragment.scala b/mobile/src/main/scala/com/github/shadowsocks/ProfilesFragment.scala index b2a858343a..02ca811e77 100644 --- a/mobile/src/main/scala/com/github/shadowsocks/ProfilesFragment.scala +++ b/mobile/src/main/scala/com/github/shadowsocks/ProfilesFragment.scala @@ -354,7 +354,7 @@ final class ProfilesFragment extends ToolbarFragment with Toolbar.OnMenuItemClic case R.id.action_scan_qr_code => def installScanner() = { Toast.makeText(getActivity, R.string.add_profile_scanner_not_installed, Toast.LENGTH_LONG).show() - try startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=tw.com.quickmark"))) catch { + try startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=com.google.zxing.client.android"))) catch { case exc: ActivityNotFoundException => exc.printStackTrace() } }