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

Commit 0bb99605 authored by Tammo Spalink's avatar Tammo Spalink
Browse files

Do not die when printing empty prefs.

Addresses issue:
http://buganizer/issue?id=1974140

Change-Id: I0001d69e8d278d4ca900f5ce56ad50c0b4b6b694
parent 7390c5af
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1456,8 +1456,10 @@ public class Preference implements Comparable<Preference>, OnDependencyChangeLis
        if (!TextUtils.isEmpty(summary)) {
            sb.append(summary).append(' ');
        }
        if (sb.length() > 0) {
            // Drop the last space
            sb.setLength(sb.length() - 1);
        }
        return sb;
    }