summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/ServiceWatcher.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/ServiceWatcher.java')
-rw-r--r--services/java/com/android/server/ServiceWatcher.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/ServiceWatcher.java b/services/java/com/android/server/ServiceWatcher.java
index 299c675..e99949b 100644
--- a/services/java/com/android/server/ServiceWatcher.java
+++ b/services/java/com/android/server/ServiceWatcher.java
@@ -42,7 +42,7 @@ import java.util.List;
*/
public class ServiceWatcher implements ServiceConnection {
private static final boolean D = false;
- private static final String EXTRA_SERVICE_VERSION = "serviceVersion";
+ private static final String EXTRA_VERSION = "version";
private final String mTag;
private final Context mContext;
@@ -127,7 +127,7 @@ public class ServiceWatcher implements ServiceConnection {
// check version
int version = 0;
if (rInfo.serviceInfo.metaData != null) {
- version = rInfo.serviceInfo.metaData.getInt(EXTRA_SERVICE_VERSION, 0);
+ version = rInfo.serviceInfo.metaData.getInt(EXTRA_VERSION, 0);
}
if (version > mVersion) {
bestVersion = version;