Merge release branch to master (#1932)

* Bugfix/upload via share (#1920)

* Bug Fix #1878
* Added a java library to fetch the MIME type from input stream
* Fetch MIME type using this and use the contribution tag only when this fails:

* formatting changes, removed unused commented out line

* Versioning and changelog for v2.8.5 (#1923)

* Versioning for v2.8.5

* Update changelog.md
This commit is contained in:
Vivek Maskara 2018-10-13 14:15:00 +05:30 committed by Josephine Lim
parent e36a71a584
commit 02fe0044a6
5 changed files with 40 additions and 10 deletions

View file

@ -131,7 +131,6 @@ public class Utils {
// If extension is still null, make it jpg. (Hotfix for https://github.com/commons-app/apps-android-commons/issues/228)
// If title has an extension in it, if won't be true
// FIXME: .png uploads fail when uploaded via Share
if (extension == null && title.lastIndexOf(".")<=0) {
extension = "jpg";
title += "." + extension;