mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-04-05 11:11:05 +02:00
revert swiping target and CameraX to 1.2.0-beta01
- reverting because VideoCapture fails to initialize on some devices - revert swiping target to the tab
This commit is contained in:
parent
e7ac9b964f
commit
edfa69f6ac
@ -69,7 +69,7 @@ dependencies {
|
|||||||
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1"
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1"
|
||||||
implementation 'androidx.window:window:1.1.0-alpha03'
|
implementation 'androidx.window:window:1.1.0-alpha03'
|
||||||
|
|
||||||
def camerax_version = '1.2.0-rc01'
|
def camerax_version = '1.2.0-beta01'
|
||||||
implementation "androidx.camera:camera-core:$camerax_version"
|
implementation "androidx.camera:camera-core:$camerax_version"
|
||||||
implementation "androidx.camera:camera-camera2:$camerax_version"
|
implementation "androidx.camera:camera-camera2:$camerax_version"
|
||||||
implementation "androidx.camera:camera-video:$camerax_version"
|
implementation "androidx.camera:camera-video:$camerax_version"
|
||||||
|
@ -393,7 +393,7 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener, Camera
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
bottom_overlay.setOnTouchListener { _, event ->
|
camera_mode_tab.setOnTouchListener { _, event ->
|
||||||
gestureDetector.onTouchEvent(event)
|
gestureDetector.onTouchEvent(event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user