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

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

am b2fef7a8: am f12612c8: am 48c78cfb: am c56668eb: am 3ced9617: Merge "Use...

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

* commit 'b2fef7a8':
  Use original path if translated path doesn't exist
parents 56e4b6f2 b2fef7a8
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;
                    }
                }