aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/app
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2011-08-19 20:19:38 -0700
committerRaphael Moll <ralf@android.com>2011-08-19 20:19:38 -0700
commit4674055b588bdb0588a8ef9cc5a96cf346ed976e (patch)
treea4d53b53186c14b43b40f7339e9f67075870294c /ddms/app
parent922e0f13aa83e84727076c48db39df6dde54c951 (diff)
downloadsdk-4674055b588bdb0588a8ef9cc5a96cf346ed976e.zip
sdk-4674055b588bdb0588a8ef9cc5a96cf346ed976e.tar.gz
sdk-4674055b588bdb0588a8ef9cc5a96cf346ed976e.tar.bz2
Change way we report Eclipse version in stat ping.
This reverts the way Change I14dba0dd was sending the Eclipse version. Instead of passing a new attribute, we reuse the existing "app=>version" format, with a specific app name of "eclipse". Since versions are reformated in 4 parts, it will report something like "3.5.0.0" (only major+minor and 2 zero sub parts). We don't send more details than that (e.g. Milestones). Change-Id: Id01e3ed6b96ea4ce4e1b4f643d08a050291a6e7b
Diffstat (limited to 'ddms/app')
-rw-r--r--ddms/app/src/com/android/ddms/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ddms/app/src/com/android/ddms/Main.java b/ddms/app/src/com/android/ddms/Main.java
index 6247a28..c8bab66 100644
--- a/ddms/app/src/com/android/ddms/Main.java
+++ b/ddms/app/src/com/android/ddms/Main.java
@@ -74,7 +74,7 @@ public class Main {
// the "ping" argument means to check in with the server and exit
// the application name and version number must also be supplied
if (args.length >= 3 && args[0].equals("ping")) {
- SdkStatsService.ping(args[1], args[2], null /*eclipseVersion*/, null);
+ SdkStatsService.ping(args[1], args[2], null);
return;
} else if (args.length > 0) {
Log.e("ddms", "Unknown argument: " + args[0]);
@@ -134,7 +134,7 @@ public class Main {
p.load(new FileInputStream(sourceProp));
sRevision = p.getProperty("Pkg.Revision"); //$NON-NLS-1$
if (sRevision != null && sRevision.length() > 0) {
- SdkStatsService.ping("ddms", sRevision, null /*eclipseVersion*/, null); //$NON-NLS-1$
+ SdkStatsService.ping("ddms", sRevision, null); //$NON-NLS-1$
}
} catch (FileNotFoundException e) {
// couldn't find the file? don't ping.