From 0d869aa768e8d9af24f1e2c6ac98cc094df716e0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 27 Sep 2013 09:38:19 -0400 Subject: [PATCH] [Android] Simplify conditional statement within DirectoryActivity.java. This is already checked through the allowFile variable. So if that is true, then it's sensible to assume this is true as well. --- .../phoenix/src/org/retroarch/browser/DirectoryActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/phoenix/src/org/retroarch/browser/DirectoryActivity.java b/android/phoenix/src/org/retroarch/browser/DirectoryActivity.java index 86c2deab0d..e55b1fa0ff 100644 --- a/android/phoenix/src/org/retroarch/browser/DirectoryActivity.java +++ b/android/phoenix/src/org/retroarch/browser/DirectoryActivity.java @@ -222,8 +222,7 @@ public class DirectoryActivity extends Activity implements boolean allowFile = file.isDirectory() || (filterPath(path) && !isDirectoryTarget); if (allowFile) - adapter.add(new FileWrapper(file, FileWrapper.FILE, - file.isDirectory() || true)); + adapter.add(new FileWrapper(file, FileWrapper.FILE, true)); } }