OSDN Git Service

cmfm: add support for Intent.EXTRA_MIME_TYPES
authorJorge Ruesga <jorge@ruesga.com>
Thu, 26 Feb 2015 01:00:56 +0000 (02:00 +0100)
committerJorge Ruesga <jorge@ruesga.com>
Fri, 27 Feb 2015 17:23:07 +0000 (18:23 +0100)
commit39bb8290b037035a770f024b2d2e96929c262675
tree4eef546c52eb1458ecc773eafdb14d669598db98
parent75eb5095eea6910e794819ff629b7c818b7d53dd
cmfm: add support for Intent.EXTRA_MIME_TYPES

Since KitKat GET_CONTENT supports Intent.EXTRA_MIME_TYPES to limit the mime types of the returned
data. Use this information to add mimetype restrictions (if #getType is not present).

Change-Id: Ia968e06d899f695ea555c746d90bb5a3231cc1c9
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
src/com/cyanogenmod/filemanager/activities/PickerActivity.java
src/com/cyanogenmod/filemanager/preferences/DisplayRestrictions.java
src/com/cyanogenmod/filemanager/util/FileHelper.java