diff options
author | Michael Wright <michaelwr@google.com> | 2012-06-18 17:29:10 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2012-06-19 10:46:38 -0700 |
commit | 761db4abc2435f09f0c0d78183ad0bab0061ca02 (patch) | |
tree | 13e57d4ba68d942e31d1a992bef407ff413a46ab /apps | |
parent | 148770ee4084816736e68b21ded90f4734b4eaa8 (diff) | |
download | sdk-761db4abc2435f09f0c0d78183ad0bab0061ca02.zip sdk-761db4abc2435f09f0c0d78183ad0bab0061ca02.tar.gz sdk-761db4abc2435f09f0c0d78183ad0bab0061ca02.tar.bz2 |
Fixed DeviceConfig to match change made to device schema
Change-Id: I5f7612ec4cdf45b2b93da759ab6ae218af0cd0aa
Diffstat (limited to 'apps')
-rw-r--r-- | apps/DeviceConfig/src/com/example/android/deviceconfig/ConfigGenerator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/DeviceConfig/src/com/example/android/deviceconfig/ConfigGenerator.java b/apps/DeviceConfig/src/com/example/android/deviceconfig/ConfigGenerator.java index b2b08c6..0bfe5d0 100644 --- a/apps/DeviceConfig/src/com/example/android/deviceconfig/ConfigGenerator.java +++ b/apps/DeviceConfig/src/com/example/android/deviceconfig/ConfigGenerator.java @@ -110,7 +110,7 @@ public class ConfigGenerator { public static final String NODE_GPU = "gpu"; public static final String NODE_DOCK = "dock"; public static final String NODE_YDPI = "ydpi"; - public static final String NODE_PLUGGED_IN = "plugged-in"; + public static final String NODE_POWER_TYPE = "power-type"; public static final String NODE_Y_DIMENSION = "y-dimension"; public static final String NODE_SCREEN_RATIO = "screen-ratio"; public static final String NODE_NAV_STATE = "nav-state"; @@ -521,7 +521,7 @@ public class ConfigGenerator { hardware.appendChild(dock); dock.appendChild(doc.createTextNode(" ")); - Element pluggedIn = doc.createElement(PREFIX + NODE_PLUGGED_IN); + Element pluggedIn = doc.createElement(PREFIX + NODE_POWER_TYPE); hardware.appendChild(pluggedIn); pluggedIn.appendChild(doc.createTextNode(" ")); |