Skip to content

Commit b994546

Browse files
authored
Fix crash
1 parent 6b50db9 commit b994546

File tree

1 file changed

+1
-0
lines changed
  • app/src/main/java/org/androidbootmanager/app/util

1 file changed

+1
-0
lines changed

app/src/main/java/org/androidbootmanager/app/util/SDUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ public static String umsd(SDPartitionMeta meta) {
154154
for (Partition p : meta.p)
155155
s.append(umsd(p.type, meta.major, p.minor)).append(" && ");
156156
String e = s.toString();
157+
if (e.isEmpty()) return e;
157158
return e.substring(0, e.length()-4);
158159
}
159160

0 commit comments

Comments
 (0)