Skip to content

Commit

Permalink
use scanning square as AE/AWB region too
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Sep 20, 2021
1 parent cdd440f commit 61bf7a3
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ class QRScannerActivity : AppCompatActivity() {
contentFrame.height / 2.0f, overlayView.size.toFloat())

camera.cameraControl.startFocusAndMetering(
FocusMeteringAction.Builder(
autoFocusPoint,
FocusMeteringAction.FLAG_AF
).disableAutoCancel().build()
FocusMeteringAction.Builder(autoFocusPoint).disableAutoCancel().build()
)

startTimer()
Expand Down

0 comments on commit 61bf7a3

Please sign in to comment.