Skip to content

Commit

Permalink
Update CameraSession.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
netdown authored Jan 20, 2025
1 parent 54df86a commit dfa88be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class CameraSession(internal val context: Context, internal val callback: Callba
}
}

override fun getLifecycle(): Lifecycle = lifecycleRegistry
override val lifecycle: Lifecycle get() = lifecycleRegistry

/**
* Configures the [CameraSession] with new values in one batch.
Expand Down

0 comments on commit dfa88be

Please sign in to comment.