bettybop68 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 1 forks source link

FToHTTP file content type is based on extension rather than MIME type #228

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The constructor TerminatingHttpFileSharingSession(...) creates a MmContent just 
based on the file extension. In order to be prepared for stickers support we 
propose to first use received MIME type and only if that's not available fall 
back to the file extension (as stickers would have the same file extensions as 
regular pictures but a different MIME type).
The according code changes could be contributed.

Original issue reported on code.google.com by andreas-...@telekom.de on 19 Feb 2014 at 8:44

GoogleCodeExporter commented 8 years ago
You can submit your contribution

Original comment by lemordan...@gmail.com on 19 Feb 2014 at 12:53

GoogleCodeExporter commented 8 years ago
done

Original comment by andreas-...@telekom.de on 19 Feb 2014 at 2:08