Skip to content

Commit

Permalink
explicitly disable EIS for non-video modes again
Browse files Browse the repository at this point in the history
This was lost by 92d262a.
  • Loading branch information
thestinger committed Jan 4, 2025
1 parent efd870b commit 385f76e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/app/grapheneos/camera/CamConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,8 @@ class CamConfig(private val mActivity: MainActivity) {

if (isVideoMode && isPreviewStabilizationSupported()) {
previewBuilder.setPreviewStabilizationEnabled(enableEIS)
} else {
previewBuilder.setPreviewStabilizationEnabled(false)
}

preview = previewBuilder.build().also {
Expand Down

0 comments on commit 385f76e

Please sign in to comment.