Skip to content

Commit 6d149a6

Browse files
authored
Remove a duplicated extension function. (google#359)
This tryApplyVideoQualityConstraints function was added in google#324 and it was applied twice.
1 parent 668eac5 commit 6d149a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/camera/src/main/java/com/google/jetpackcamera/core/camera/CameraXCameraUseCase.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ constructor(
273273
.tryApplyFlashModeConstraints()
274274
.tryApplyCaptureModeConstraints()
275275
.tryApplyVideoQualityConstraints()
276-
.tryApplyCaptureModeConstraints()
277276
if (isDebugMode && Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
278277
withContext(iODispatcher) {
279278
val cameraPropertiesJSON =

0 commit comments

Comments
 (0)