diff options
| -rw-r--r-- | services/core/java/com/android/server/SystemConfig.java | 2 |
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; |