mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
fix streaming
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
3079073da6
commit
d45f047a38
1 changed files with 1 additions and 3 deletions
|
@ -906,9 +906,7 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
.isMediaStreamingSupported()) {
|
||||
// stream media preview on >= NC14
|
||||
((FileDisplayActivity) mContainerActivity).startMediaPreview(file, 0, true, true, true);
|
||||
}
|
||||
|
||||
if (capability.getRichDocumentsMimeTypeList().contains(file.getMimeType()) &&
|
||||
} else if (capability.getRichDocumentsMimeTypeList().contains(file.getMimeType()) &&
|
||||
android.os.Build.VERSION.SDK_INT >= RichDocumentsWebView.MINIMUM_API &&
|
||||
capability.getRichDocumentsDirectEditing().isTrue()) {
|
||||
mContainerActivity.getFileOperationsHelper().openFileAsRichDocument(file, getContext());
|
||||
|
|
Loading…
Reference in a new issue