mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-27 22:38:53 +00:00
streaming media
// FREEBIE
This commit is contained in:
@@ -70,8 +70,7 @@ public class AudioSlide extends Slide {
|
||||
public static PduPart constructPartFromUri(Context context, Uri uri) throws IOException, MediaTooLargeException {
|
||||
PduPart part = new PduPart();
|
||||
|
||||
if (getMediaSize(context, uri) > MAX_MESSAGE_SIZE)
|
||||
throw new MediaTooLargeException("Audio track larger than size maximum.");
|
||||
assertMediaSize(context, uri);
|
||||
|
||||
Cursor cursor = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user