android:scanqrcode stop twice

This commit is contained in:
pengfei.zhou 2020-02-28 14:23:26 +08:00 committed by osborn
parent 35944dc2cb
commit 0f7794b2f1

View File

@ -35,9 +35,7 @@ public class ScanQRCodeActivity extends AppCompatActivity implements QRCodeView.
@Override @Override
protected void onStop() { protected void onStop() {
super.onStop(); super.onStop();
mZbarView.stopCamera(); mZbarView.stopCamera();
super.onStop();
} }
@Override @Override