From d9485cbf2306d81d1ac3264d238203a15d5566ef Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 23 Aug 2013 00:18:01 -0400 Subject: [PATCH] [Android] Only show valid files in the file browser. --- .../dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java b/Source/Android/src/org/dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java index 2895196ff7..92a360ca25 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java @@ -50,7 +50,6 @@ public final class FolderBrowser extends Fragment // Supported extensions to filter by Set validExts = new HashSet(Arrays.asList(".gcm", ".iso", ".wbfs", ".gcz", ".dol", ".elf", ".dff")); - Set invalidExts = new HashSet(Arrays.asList(".zip", ".rar", ".7z")); // Search for any directories or files within the current dir. for(File entry : dirs) @@ -73,10 +72,6 @@ public final class FolderBrowser extends Fragment { fls.add(new FolderBrowserItem(entryName, getString(R.string.file_size)+entry.length(), entry.getAbsolutePath(), true)); } - else if (invalidExts.contains(entryName.toLowerCase().substring(entryName.lastIndexOf('.')))) - { - fls.add(new FolderBrowserItem(entryName, getString(R.string.file_size)+entry.length(), entry.getAbsolutePath(), false)); - } } } }