diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DeviceOwner.java b/services/devicepolicy/java/com/android/server/devicepolicy/DeviceOwner.java index 629dea2263aaa..3c46e4049eed6 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DeviceOwner.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DeviceOwner.java @@ -208,7 +208,7 @@ public class DeviceOwner { int userId = Integer.parseInt(parser.getAttributeValue(null, ATTR_USERID)); mProfileOwners.put(userId, new OwnerInfo( - profileOwnerPackageName, profileOwnerName, profileEnabled)); + profileOwnerName, profileOwnerPackageName, profileEnabled)); } else { throw new XmlPullParserException( "Unexpected tag in device owner file: " + tag); @@ -304,4 +304,4 @@ public class DeviceOwner { this.packageName = packageName; } } -} \ No newline at end of file +}