Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48c78cfb authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am c56668eb: am 3ced9617: Merge "Use original path if translated path doesn\'t exist" into mnc-dev

* commit 'c56668eb':
  Use original path if translated path doesn't exist
parents 7df8b265 c56668eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -968,7 +968,7 @@ public class StorageManager {
                        || vol.getType() == VolumeInfo.TYPE_PUBLIC) && vol.isMountedReadable()) {
                    final File internalPath = FileUtils.rewriteAfterRename(vol.getPath(),
                            vol.getInternalPath(), path);
                    if (internalPath != null) {
                    if (internalPath != null && internalPath.exists()) {
                        return internalPath;
                    }
                }