Skip to content

Commit

Permalink
hide stabilization setting until issue is resolved (#127)
Browse files Browse the repository at this point in the history
* hide stabilization setting until b/326140212 (#118) is resolved
  • Loading branch information
Kimblebee authored Mar 4, 2024
1 parent 9127847 commit 90b8586
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import com.google.jetpackcamera.settings.ui.DefaultCameraFacing
import com.google.jetpackcamera.settings.ui.FlashModeSetting
import com.google.jetpackcamera.settings.ui.SectionHeader
import com.google.jetpackcamera.settings.ui.SettingsPageHeader
import com.google.jetpackcamera.settings.ui.StabilizationSetting

/**
* Screen used for the Settings feature.
Expand Down Expand Up @@ -76,15 +75,16 @@ fun SettingsList(uiState: SettingsUiState, viewModel: SettingsViewModel) {
setCaptureMode = viewModel::setCaptureMode
)

// todo: b/313647247 - query device and disable setting if preview stabilization isn't supported.
// todo: b/313647809 - query device and disable setting if video stabilization isn't supported.
// TODO: b/326140212 - stabilization setting not changing active stabilization mode
/*
StabilizationSetting(
currentVideoStabilization = uiState.cameraAppSettings.videoCaptureStabilization,
currentPreviewStabilization = uiState.cameraAppSettings.previewStabilization,
supportedStabilizationMode = uiState.cameraAppSettings.supportedStabilizationModes,
setVideoStabilization = viewModel::setVideoStabilization,
setPreviewStabilization = viewModel::setPreviewStabilization
)
*/

SectionHeader(title = stringResource(id = R.string.section_title_app_settings))

Expand Down

0 comments on commit 90b8586

Please sign in to comment.