Write device owner name to XML

So that it can be remembered.

Bug: 17153003
Change-Id: I6fb96334f235348bc237cc52e09c2fe5ef1332b7
This commit is contained in:
Jason Monk
2014-08-21 15:34:25 -04:00
parent c7f440dcd8
commit 4e7a65f15c

View File

@@ -267,6 +267,9 @@ public class DeviceOwner {
if (mDeviceOwner != null) {
out.startTag(null, TAG_DEVICE_OWNER);
out.attribute(null, ATTR_PACKAGE, mDeviceOwner.packageName);
if (mDeviceOwner.name != null) {
out.attribute(null, ATTR_NAME, mDeviceOwner.name);
}
out.endTag(null, TAG_DEVICE_OWNER);
}