Skip to content

Commit

Permalink
Merge pull request #4389 from SeannyM/android-dir-restrict
Browse files Browse the repository at this point in the history
Android: Allow accessing all folders
  • Loading branch information
degasus committed Oct 26, 2016
2 parents 3fe5e6d + 351825a commit 838b234
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -198,7 +198,7 @@ public void setPath(String path)

public void upOneLevel()
{
if (!mPath.equals(Environment.getExternalStorageDirectory().getPath()))
if (!mPath.equals("/"))
{
File currentDirectory = new File(mPath);
File parentDirectory = currentDirectory.getParentFile();
Expand Down

0 comments on commit 838b234

Please sign in to comment.