forked from hardcoresushi/DroidFS
Fixes
This commit is contained in:
parent
4afe56b13c
commit
71ff37b170
@ -18,6 +18,7 @@ import androidx.annotation.RequiresApi
|
|||||||
import androidx.camera.core.AspectRatio
|
import androidx.camera.core.AspectRatio
|
||||||
import androidx.camera.core.Camera
|
import androidx.camera.core.Camera
|
||||||
import androidx.camera.core.CameraSelector
|
import androidx.camera.core.CameraSelector
|
||||||
|
import androidx.camera.core.DynamicRange
|
||||||
import androidx.camera.core.FocusMeteringAction
|
import androidx.camera.core.FocusMeteringAction
|
||||||
import androidx.camera.core.ImageCapture
|
import androidx.camera.core.ImageCapture
|
||||||
import androidx.camera.core.ImageCaptureException
|
import androidx.camera.core.ImageCaptureException
|
||||||
@ -414,7 +415,7 @@ class CameraActivity : BaseActivity(), SensorOrientationListener.Listener {
|
|||||||
refreshVideoCapture()
|
refreshVideoCapture()
|
||||||
camera = cameraProvider.bindToLifecycle(this, cameraSelector, cameraPreview, videoCapture)
|
camera = cameraProvider.bindToLifecycle(this, cameraSelector, cameraPreview, videoCapture)
|
||||||
if (qualities == null) {
|
if (qualities == null) {
|
||||||
qualities = QualitySelector.getSupportedQualities(camera!!.cameraInfo)
|
qualities = SucklessRecorder.getVideoCapabilities(camera!!.cameraInfo).getSupportedQualities(DynamicRange.UNSPECIFIED)
|
||||||
}
|
}
|
||||||
videoCapture
|
videoCapture
|
||||||
} else {
|
} else {
|
||||||
|
@ -161,7 +161,7 @@ class VolumeDatabase(private val context: Context): SQLiteOpenHelper(context, Co
|
|||||||
put(COLUMN_TYPE, byteArrayOf(volume.type))
|
put(COLUMN_TYPE, byteArrayOf(volume.type))
|
||||||
put(COLUMN_HASH, volume.encryptedHash)
|
put(COLUMN_HASH, volume.encryptedHash)
|
||||||
put(COLUMN_IV, volume.iv)
|
put(COLUMN_IV, volume.iv)
|
||||||
}) == 1.toLong())
|
}) >= 0.toLong())
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -189,10 +189,10 @@ internal class CircleClipTapView(context: Context, attrs: AttributeSet): View(co
|
|||||||
super.onDraw(canvas)
|
super.onDraw(canvas)
|
||||||
|
|
||||||
// Background
|
// Background
|
||||||
canvas?.clipPath(shapePath)
|
canvas.clipPath(shapePath)
|
||||||
canvas?.drawPath(shapePath, backgroundPaint)
|
canvas.drawPath(shapePath, backgroundPaint)
|
||||||
|
|
||||||
// Circle
|
// Circle
|
||||||
canvas?.drawCircle(cX, cY, currentRadius, circlePaint)
|
canvas.drawCircle(cX, cY, currentRadius, circlePaint)
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1 +1 @@
|
|||||||
Subproject commit 59973a6b42485b0c430123c8be649fb24689b9f3
|
Subproject commit 22965932759f232328810eadf3f02671b5c6ff99
|
Loading…
Reference in New Issue
Block a user