fix: Fix Preview stretching on Android (#2377)
* fix: Fix Preview stretching on Android * fix: Simplify Preview size computation * fix: Catch `stopRepeating` error * fix: Fix preview size calculation * Format code * Update CameraSession.kt * Enable CodeScanner in example app * fix: Also update size on surface change * Format * fix: Flip sizes * Revert that stuff again * Update PreviewView.kt * fix: Swap width and height in SurfaceHolder::setFixedSize
This commit is contained in:
@@ -42,4 +42,4 @@ hermesEnabled=true
|
||||
# Can be set to true to disable the build setup
|
||||
#VisionCamera_disableFrameProcessors=true
|
||||
# Can be set to true to include the full 2.4 MB MLKit dependency
|
||||
#VisionCamera_enableCodeScanner=true
|
||||
VisionCamera_enableCodeScanner=true
|
||||
|
Reference in New Issue
Block a user