This commit is contained in:
Victor Shcherb 2015-11-07 21:15:39 +01:00
parent b46a4c5e91
commit 93df487714

View file

@ -1320,7 +1320,7 @@ public class OsmandSettings {
} else { } else {
File[] externals = ctx.getExternalFilesDirs(null); File[] externals = ctx.getExternalFilesDirs(null);
for (File file : externals) { for (File file : externals) {
if (!file.getAbsolutePath().contains("emulated")) { if (file != null && !file.getAbsolutePath().contains("emulated")) {
return file; return file;
} }
} }