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

Commit b4391346 authored by Linus Tufvesson's avatar Linus Tufvesson Committed by Android (Google) Code Review
Browse files

Merge "Sort properties by keys"

parents e155ed48 7bb27de0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -196,7 +196,9 @@ public final class DeviceConfigService extends Binder {
                case LIST:
                    if (namespace != null) {
                        DeviceConfig.Properties properties = DeviceConfig.getProperties(namespace);
                        for (String name : properties.getKeyset()) {
                        List<String> keys = new ArrayList<>(properties.getKeyset());
                        Collections.sort(keys);
                        for (String name : keys) {
                            pout.println(name + "=" + properties.getString(name, null));
                        }
                    } else {