google / google/jetpack-camera-app

Incorrect package name in uistateadapter Utils.kt

Open
#423 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
341
Forks
71
Avg merge
4d 17h
Merged PRs (30d)
7

Description

## Issue
I noticed that `Utils.kt` in the `uistateadapter` module is using an incorrect package name.

**Location**: `ui/uistateadapter/src/main/java/com/example/uistateadapter/Utils.kt`

https://github.com/google/jetpack-camera-app/blob/6ba412b90febc88a39603e38dea99baa09fb2d1d/ui/uistateadapter/src/main/java/com/example/uistateadapter/Utils.kt#L16-L37

The file currently uses `com.example.uistateadapter` as its package, while all other files in the project follow the `com.google.jetpackcamera.*` naming convention.

## Details

Files affected by this import:
- `AspectRatioUiStateAdapter.kt`
- `FlashModeUiStateAdapter.kt`
- `FlipLensUiStateAdapter.kt`
- `StreamConfigsUiStateAdapter.kt`

It appears the package should be `com.google.jetpackcamera.ui.uistateadapter` to maintain consistency with the project structure.

If this is indeed a mistake, I'd be happy to submit a PR to fix it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.