From 2d7244f6d51b6cdecd6d4dc14ae6a6786b883d58 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 13 Aug 2013 08:50:21 -0400 Subject: [PATCH] [Android] Change the name of a variable in FolderBrowser.java to better reflect its purpose Compressed file formats are not valid, so it's best to rename this to invalidExts. --- .../Android/src/org/dolphinemu/dolphinemu/FolderBrowser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/FolderBrowser.java b/Source/Android/src/org/dolphinemu/dolphinemu/FolderBrowser.java index ee96f445ce..817a9152c5 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/FolderBrowser.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/FolderBrowser.java @@ -31,7 +31,7 @@ public class FolderBrowser extends Fragment { // Supported extensions to filter by Set validExts = new HashSet(Arrays.asList(".gcm", ".iso", ".wbfs", ".gcz", ".dol", ".elf", ".dff")); - Set archiveExts = new HashSet(Arrays.asList(".zip", ".rar", ".7z")); + Set invalidExts = new HashSet(Arrays.asList(".zip", ".rar", ".7z")); // Search for any directories or supported files within the current dir. try @@ -52,7 +52,7 @@ public class FolderBrowser extends Fragment { { fls.add(new GameListItem(m_activity, entryName,getString(R.string.file_size)+entry.length(),entry.getAbsolutePath(), true)); } - else if (archiveExts.contains(entryName.toLowerCase().substring(entryName.lastIndexOf('.')))) + else if (invalidExts.contains(entryName.toLowerCase().substring(entryName.lastIndexOf('.')))) { fls.add(new GameListItem(m_activity, entryName,getString(R.string.file_size)+entry.length(),entry.getAbsolutePath(), false)); }