summaryrefslogtreecommitdiffstats
path: root/services/devicepolicy
diff options
context:
space:
mode:
authorNicolas Prevot <nprevot@google.com>2014-04-29 10:39:01 +0100
committerNicolas Prevot <nprevot@google.com>2014-04-29 10:43:53 +0100
commitf2a5bf88cd3cf8690e940e1e49b63e4bb1711781 (patch)
tree1a37a41e47966d76c2d7576854ee5f1e8410ca40 /services/devicepolicy
parentdf2258be5bd9df4f9a31c4389e8b07b996d26f0b (diff)
downloadframeworks_base-f2a5bf88cd3cf8690e940e1e49b63e4bb1711781.zip
frameworks_base-f2a5bf88cd3cf8690e940e1e49b63e4bb1711781.tar.gz
frameworks_base-f2a5bf88cd3cf8690e940e1e49b63e4bb1711781.tar.bz2
Small fix in DeviceOwner.java.
Change-Id: Ibfa4ae7b1bc269bc51532026f8a6cc3c75cc42bf
Diffstat (limited to 'services/devicepolicy')
-rw-r--r--services/devicepolicy/java/com/android/server/devicepolicy/DeviceOwner.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DeviceOwner.java b/services/devicepolicy/java/com/android/server/devicepolicy/DeviceOwner.java
index 629dea2..3c46e40 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
+}