Skip to content

Commit e48be2d

Browse files
fesaveabelgardep
authored andcommitted
Video support
1 parent 3979824 commit e48be2d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

owncloudApp/src/main/java/com/owncloud/android/presentation/ui/settings/fragments/SettingsVideoUploadsFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import com.owncloud.android.db.PreferenceManager.PREF__CAMERA_VIDEO_UPLOADS_WIFI
4949
import com.owncloud.android.domain.camerauploads.model.FolderBackUpConfiguration
5050
import com.owncloud.android.extensions.showAlertDialog
5151
import com.owncloud.android.presentation.viewmodels.settings.SettingsVideoUploadsViewModel
52+
import com.owncloud.android.ui.activity.FolderPickerActivity
5253
import com.owncloud.android.ui.activity.UploadPathActivity
5354
import com.owncloud.android.utils.DisplayUtils
5455
import kotlinx.coroutines.launch
@@ -167,6 +168,7 @@ class SettingsVideoUploadsFragment : PreferenceFragmentCompat() {
167168
}
168169
val intent = Intent(activity, UploadPathActivity::class.java).apply {
169170
putExtra(UploadPathActivity.KEY_CAMERA_UPLOAD_PATH, uploadPath)
171+
putExtra(FolderPickerActivity.EXTRA_PICKER_OPTION, FolderPickerActivity.PickerMode.CAMERA_FOLDER)
170172
putExtra(UploadPathActivity.KEY_CAMERA_UPLOAD_ACCOUNT, videosViewModel.getVideoUploadsAccount())
171173
}
172174
selectVideoUploadsPathLauncher.launch(intent)

0 commit comments

Comments
 (0)