Commit 82e6266f authored by Max Lv's avatar Max Lv

Revert "Disable AutoFocus and Flash"

This reverts commit 9919ead1.
parent 9919ead1
...@@ -50,9 +50,6 @@ class ScannerActivity extends AppCompatActivity with ZXingScannerView.ResultHand ...@@ -50,9 +50,6 @@ class ScannerActivity extends AppCompatActivity with ZXingScannerView.ResultHand
setupToolbar() setupToolbar()
scannerView = new ZXingScannerView(this) scannerView = new ZXingScannerView(this)
scannerView.setAutoFocus(false)
scannerView.setFlash(false)
val contentFrame = findViewById(R.id.content_frame).asInstanceOf[ViewGroup] val contentFrame = findViewById(R.id.content_frame).asInstanceOf[ViewGroup]
contentFrame.addView(scannerView) contentFrame.addView(scannerView)
} }
......
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