aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/app/src
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-04-27 14:58:09 -0700
committerXavier Ducrohet <xav@android.com>2009-04-27 15:05:06 -0700
commitff9c21ab084afbe147b0f7fff71cfb90f250e966 (patch)
tree512b9a03f425ceac3f6b258a5e4250697a490ac1 /ddms/app/src
parent43793c7bfa1589ea9c174c205e3dcf6f4e9b1704 (diff)
downloadsdk-ff9c21ab084afbe147b0f7fff71cfb90f250e966.zip
sdk-ff9c21ab084afbe147b0f7fff71cfb90f250e966.tar.gz
sdk-ff9c21ab084afbe147b0f7fff71cfb90f250e966.tar.bz2
Fix the opt-in window for usage stat so that it works when running from ADT.
Diffstat (limited to 'ddms/app/src')
-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 d63b884..d545ed9 100644
--- a/ddms/app/src/com/android/ddms/Main.java
+++ b/ddms/app/src/com/android/ddms/Main.java
@@ -78,7 +78,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]);
+ SdkStatsService.ping(args[1], args[2], null);
return;
} else if (args.length > 0) {
Log.e("ddms", "Unknown argument: " + args[0]);
@@ -86,7 +86,7 @@ public class Main {
}
// ddms itself is wanted: send a ping for ourselves
- SdkStatsService.ping("ddms", VERSION); //$NON-NLS-1$
+ SdkStatsService.ping("ddms", VERSION, null); //$NON-NLS-1$
DebugPortManager.setProvider(DebugPortProvider.getInstance());