We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f395d commit 493806cCopy full SHA for 493806c
1 file changed
app/src/main/java/app/grapheneos/camera/CamConfig.kt
@@ -1251,6 +1251,12 @@ class CamConfig(private val mActivity: MainActivity) {
1251
ResolutionSelector.Builder().setAspectRatioStrategy(aspectRatioStrategy).build()
1252
)
1253
1254
+ // Pixels and potentially other devices enable EIS by default, which reduces the field of
1255
+ // view and image quality for image capture if it's not explicitly disabled
1256
+ if (!enableEIS || !isVideoMode) {
1257
+ previewBuilder.setPreviewStabilizationEnabled(false)
1258
+ }
1259
+
1260
preview = previewBuilder.build().also {
1261
useCasesList.add(it)
1262
it.setSurfaceProvider(mActivity.previewView.surfaceProvider)
0 commit comments