Skip to content
Snippets Groups Projects
Commit 0ee25c96 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

conversation: use messaging quality for video clips

Change-Id: I6f667a6b414c95d8c6ccd18df9de3068630e4543
parent 2d0a19f1
No related branches found
No related tags found
No related merge requests found
...@@ -498,6 +498,7 @@ class ConversationFragment : BaseSupportFragment<ConversationPresenter, Conversa ...@@ -498,6 +498,7 @@ class ConversationFragment : BaseSupportFragment<ConversationPresenter, Conversa
putExtra("android.intent.extras.CAMERA_FACING", Camera.CameraInfo.CAMERA_FACING_FRONT) putExtra("android.intent.extras.CAMERA_FACING", Camera.CameraInfo.CAMERA_FACING_FRONT)
putExtra("android.intent.extras.LENS_FACING_FRONT", 1) putExtra("android.intent.extras.LENS_FACING_FRONT", 1)
putExtra("android.intent.extra.USE_FRONT_CAMERA", true) putExtra("android.intent.extra.USE_FRONT_CAMERA", true)
putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0)
putExtra(MediaStore.EXTRA_OUTPUT, ContentUriHandler.getUriForFile(context, ContentUriHandler.AUTHORITY_FILES, AndroidFileUtils.createVideoFile(context).apply { putExtra(MediaStore.EXTRA_OUTPUT, ContentUriHandler.getUriForFile(context, ContentUriHandler.AUTHORITY_FILES, AndroidFileUtils.createVideoFile(context).apply {
mCurrentPhoto = this mCurrentPhoto = this
})) }))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment