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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user