set more precise type for file chooser intent

This commit is contained in:
Philipp Schaefer 2014-03-01 01:01:48 +01:00
parent 1d71bc6eeb
commit 13893546a4

View File

@ -335,7 +335,7 @@ public class IITC_FileManager {
// create the chooser Intent
final Intent target = new Intent(Intent.ACTION_GET_CONTENT)
.setType("*/*")
.setType("file/*")
.addCategory(Intent.CATEGORY_OPENABLE);
final IITC_Mobile iitc = (IITC_Mobile) mActivity;