Skip to content

Commit 0bfae5a

Browse files
committed
drop unnecessary EIS availability check
This triggers an exception in some cases and we need to avoid calling it here prior to setting up a camera session.
1 parent e718c73 commit 0bfae5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/app/grapheneos/camera/CamConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ class CamConfig(private val mActivity: MainActivity) {
453453

454454
var enableEIS: Boolean
455455
get() {
456-
return isVideoStabilizationSupported() && mActivity.settingsDialog.enableEISToggle.isChecked
456+
return mActivity.settingsDialog.enableEISToggle.isChecked
457457
}
458458
set(value) {
459459
val editor = commonPref.edit()

0 commit comments

Comments
 (0)