Replace ":strings" with "strings"

It looks like this is a typo and can cause parse errors with some xml
deserialization libraries.

Test: manual - set User Control Disabled Packages - restart device -
confirm that policy is still set
Bug: 291711966

Change-Id: Ib8eb2356ece3d9f0e85b7b8c455e58106a1d84f1
This commit is contained in:
Jonathan Scott
2023-07-19 11:10:44 +00:00
parent a7d8d2c6d5
commit 4905c30a74

View File

@@ -32,9 +32,8 @@ import java.util.Set;
// TODO(scottjonathan): Replace with generic set implementation
final class StringSetPolicySerializer extends PolicySerializer<Set<String>> {
private static final String ATTR_VALUES = ":strings";
private static final String ATTR_VALUES = "strings";
private static final String ATTR_VALUES_SEPARATOR = ";";
@Override
void saveToXml(PolicyKey policyKey, TypedXmlSerializer serializer,
@NonNull Set<String> value) throws IOException {