mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
revert content-type generics
// FREEBIE
This commit is contained in:
parent
9768de2d5e
commit
34aece0b43
@ -38,11 +38,6 @@ public class AudioSlide extends Slide {
|
||||
super(context, part);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getContentType() {
|
||||
return "audio/*";
|
||||
}
|
||||
|
||||
public AudioSlide(Context context, Uri uri) throws IOException, MediaTooLargeException {
|
||||
super(context, constructPartFromUri(context, uri));
|
||||
}
|
||||
|
@ -60,11 +60,6 @@ public class ImageSlide extends Slide {
|
||||
super(context, masterSecret, part);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getContentType() {
|
||||
return "image/*";
|
||||
}
|
||||
|
||||
public ImageSlide(Context context, Uri uri) throws IOException, BitmapDecodingException {
|
||||
super(context, constructPartFromUri(context, uri));
|
||||
}
|
||||
|
@ -39,11 +39,6 @@ public class VideoSlide extends Slide {
|
||||
super(context, part);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getContentType() {
|
||||
return "video/*";
|
||||
}
|
||||
|
||||
public VideoSlide(Context context, Uri uri) throws IOException, MediaTooLargeException {
|
||||
super(context, constructPartFromUri(context, uri));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user