Skip to content

Commit

Permalink
Merge branch 'develop' into feature/visual-editor
Browse files Browse the repository at this point in the history
Conflicts:
	WordPress/src/main/java/org/wordpress/android/ui/media/services/MediaUploadEvents.java
  • Loading branch information
aforcier committed Dec 2, 2015
2 parents 4171cfd + 4c4594c commit d037515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static boolean isVideo(String url) {
}
return url.endsWith(".ogv") || url.endsWith(".mp4") || url.endsWith(".m4v") || url.endsWith(".mov") ||
url.endsWith(".wmv") || url.endsWith(".avi") || url.endsWith(".mpg") || url.endsWith(".3gp") ||
url.endsWith(".3g2");
url.endsWith(".3g2") || url.contains("video");
}

public static boolean isAudio(String url) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public static boolean dropAllTables(SQLiteDatabase db) throws SQLiteException {
return true;
} finally {
db.endTransaction();
closeCursor(cursor);
}
}

Expand Down

0 comments on commit d037515

Please sign in to comment.