Skip to content

Commit

Permalink
Aperture: Enable ZXing-C++ tryInvert option
Browse files Browse the repository at this point in the history
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/7685
Change-Id: Id6298ab16e994a48370ab26b137186600930a536
  • Loading branch information
luk1337 committed Sep 12, 2024
1 parent 3f3c736 commit e570a4f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class QrImageAnalyzer(private val activity: Activity, private val scope: Corouti
// QR
private val reader by lazy {
BarcodeReader().apply {
options.tryInvert = true
options.tryRotate = true
}
}
Expand Down

0 comments on commit e570a4f

Please sign in to comment.