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

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

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

* commit '3ced9617':
  Use original path if translated path doesn't exist
parents d86ab3c5 3ced9617
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;
                    }
                }