Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update UseCaseMode to CaptureMode #300

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

Kimblebee
Copy link
Collaborator

@Kimblebee Kimblebee commented Dec 17, 2024

effectively convert UseCaseMode to CaptureMode, and move into CameraAppSettings.
Update references to UseCaseMode account for captureMode now residing in CameraAppSettings.

CameraAppSettings.applyPreviewMode() in viewModel to initialize the CameraAppSettings captureMode to VIDEO_ONLY or IMAGE_ONLY if the PreviewMode doesn't support STANDARD

# Conflicts:
#	core/camera/src/main/java/com/google/jetpackcamera/core/camera/CameraXCameraUseCase.kt
#	feature/settings/src/main/java/com/google/jetpackcamera/settings/SettingsViewModel.kt
#	feature/settings/src/main/java/com/google/jetpackcamera/settings/ui/SettingsComponents.kt
# Conflicts:
#	feature/preview/src/main/java/com/google/jetpackcamera/feature/preview/quicksettings/QuickSettingsScreen.kt
# Conflicts:
#	feature/preview/src/main/java/com/google/jetpackcamera/feature/preview/quicksettings/QuickSettingsScreen.kt
Base automatically changed from kim/refactor/captureMode_to_streamConfig to main January 11, 2025 00:31
@Kimblebee Kimblebee force-pushed the kim/refactor/captureModes/update_useCaseMode_to_captureMode branch from 1114773 to 9e73f33 Compare January 27, 2025 17:49
…ctor/captureModes/update_useCaseMode_to_captureMode
…ctor/captureModes/update_useCaseMode_to_captureMode
…ctor/captureModes/update_useCaseMode_to_captureMode
@Kimblebee Kimblebee force-pushed the kim/refactor/captureModes/update_useCaseMode_to_captureMode branch from 9e73f33 to 0c9b385 Compare January 29, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant