summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Arunesh Mishra <arunesh@google.com> 2016-02-16 08:09:44 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-02-16 08:09:45 +0000
commit57bf8eb561f1013761b954313cc29cf78b11f4b3 (patch)
tree09ad2ec6f6fe95cab869cc99ecf3f59604a8758a
parentcc0a0a39f8d61935e8f2ea4392276324d767095a (diff)
parent4e0bdf3a38ad4a879660a3505755925034765db8 (diff)
Merge "Fix boot loop problem for volantis." into nyc-dev
-rw-r--r--services/core/java/com/android/server/SystemConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/SystemConfig.java b/services/core/java/com/android/server/SystemConfig.java
index 19d7e2e1e8d0..7bdd3e2c6e05 100644
--- a/services/core/java/com/android/server/SystemConfig.java
+++ b/services/core/java/com/android/server/SystemConfig.java
@@ -342,7 +342,7 @@ public class SystemConfig {
} else if ("feature".equals(name) && allowFeatures) {
String fname = parser.getAttributeValue(null, "name");
- int fversion = XmlUtils.readIntAttribute(null, "version", 0);
+ int fversion = XmlUtils.readIntAttribute(parser, "version", 0);
boolean allowed;
if (!lowRam) {
allowed = true;