am d0f02a4d: Merge change 24138 into eclair
Merge commit 'd0f02a4da1413743c90a51426bc3221bfa6ff342' into eclair-plus-aosp * commit 'd0f02a4da1413743c90a51426bc3221bfa6ff342': Do not die when printing empty prefs.
This commit is contained in:
@@ -1456,8 +1456,10 @@ public class Preference implements Comparable<Preference>, OnDependencyChangeLis
|
||||
if (!TextUtils.isEmpty(summary)) {
|
||||
sb.append(summary).append(' ');
|
||||
}
|
||||
// Drop the last space
|
||||
sb.setLength(sb.length() - 1);
|
||||
if (sb.length() > 0) {
|
||||
// Drop the last space
|
||||
sb.setLength(sb.length() - 1);
|
||||
}
|
||||
return sb;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user