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

Commit 806456f0 authored by Phil Weaver's avatar Phil Weaver
Browse files

Fix colon-separated string lists

The first item in such lists was improperly generated and
included type information.

Bug: 35209951
Test: Looked at enabled_accessibility_services after performing
accessibility shortcut

Change-Id: I715ea6276a23e421e4c0611a4b66af5566db90bc
parent dc8912b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ public class SettingsStringUtil {
            StringBuilder sb = new StringBuilder();
            Iterator<T> it = iterator();
            if (it.hasNext()) {
                sb.append(it.next());
                sb.append(itemToString(it.next()));
                while (it.hasNext()) {
                    sb.append(DELIMITER);
                    sb.append(itemToString(it.next()));