[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.