Skip to content

Commit

Permalink
修复扫码回调
Browse files Browse the repository at this point in the history
  • Loading branch information
crazysunj committed Nov 12, 2018
1 parent 9dad028 commit 5eb5bcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ext {
compileSdkVersion: 28,
minSdkVersion : 21,
targetSdkVersion : 28,
versionCode : 13,
versionName : "1.9.1"
versionCode : 14,
versionName : "1.9.2"
]

dependVersion = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis

@NeedsPermission({Manifest.permission.CAMERA})
void openQRCode() {
new IntentIntegrator(mActivity)
IntentIntegrator.forSupportFragment(this)
.setCaptureActivity(ScannerActivity.class).initiateScan();
}

Expand Down

0 comments on commit 5eb5bcb

Please sign in to comment.