Merge pull request #4389 from SeannyM/android-dir-restrict

Android: Allow accessing all folders
This commit is contained in:
Markus Wick authored and GitHub committed 2016-10-26 08:49:27 +02:00
commit 838b234317
1 file changed
+1 -1
@@ -198,7 +198,7 @@ public final class FileAdapter extends RecyclerView.Adapter<FileViewHolder> impl
public void upOneLevel()
{
if (!mPath.equals(Environment.getExternalStorageDirectory().getPath()))
if (!mPath.equals("/"))
{
File currentDirectory = new File(mPath);
File parentDirectory = currentDirectory.getParentFile();