diff --git a/app/src/main/java/org/androidbootmanager/app/util/SDUtils.java b/app/src/main/java/org/androidbootmanager/app/util/SDUtils.java index e7e11995..ea8aa962 100644 --- a/app/src/main/java/org/androidbootmanager/app/util/SDUtils.java +++ b/app/src/main/java/org/androidbootmanager/app/util/SDUtils.java @@ -154,6 +154,7 @@ public static String umsd(SDPartitionMeta meta) { for (Partition p : meta.p) s.append(umsd(p.type, meta.major, p.minor)).append(" && "); String e = s.toString(); + if (e.isEmpty()) return e; return e.substring(0, e.length()-4); }