Browse Source

replace constant: ../../../src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java:179: Must be one or more of: ...

tobiaskaminsky 7 years ago
parent
commit
65e6e0a8e5

+ 1 - 1
src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java

@@ -176,7 +176,7 @@ public class FileOperationsHelper {
             openFileWithIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
 
             List<ResolveInfo> launchables = mFileActivity.getPackageManager().
-                    queryIntentActivities(openFileWithIntent, PackageManager.GET_INTENT_FILTERS);
+                    queryIntentActivities(openFileWithIntent, PackageManager.GET_RESOLVED_FILTER);
 
             if (launchables != null && launchables.size() > 0) {
                 try {