mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 08:32:34 +00:00
Reduce usage of Log.w()
This commit is contained in:
@@ -154,14 +154,14 @@ public class VideoPlayer extends FrameLayout {
|
||||
}
|
||||
|
||||
if (videoSource.getUri() != null && PartAuthority.isLocalUri(videoSource.getUri())) {
|
||||
Log.w(TAG, "Starting video attachment server for part provider Uri...");
|
||||
Log.i(TAG, "Starting video attachment server for part provider Uri...");
|
||||
this.attachmentServer = new AttachmentServer(getContext(), videoSource.asAttachment());
|
||||
this.attachmentServer.start();
|
||||
|
||||
//noinspection ConstantConditions
|
||||
this.videoView.setVideoURI(this.attachmentServer.getUri());
|
||||
} else if (videoSource.getUri() != null) {
|
||||
Log.w(TAG, "Playing video directly from non-local Uri...");
|
||||
Log.i(TAG, "Playing video directly from non-local Uri...");
|
||||
//noinspection ConstantConditions
|
||||
this.videoView.setVideoURI(videoSource.getUri());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user