fix possible npe
This commit is contained in:
parent
67b8a90ef3
commit
d24596f11f
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ public class FirstUsageWizardFragment extends BaseOsmAndFragment implements OsmA
|
|||
}
|
||||
for (BinaryMapDataObject o : mapDataObjects) {
|
||||
String fullName = osmandRegions.getFullName(o);
|
||||
if (fullName.length() > selectedFullName.length()) {
|
||||
if (fullName != null && fullName.length() > selectedFullName.length()) {
|
||||
selectedFullName = fullName;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue