summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherApplication.java
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-04-29 17:30:26 -0700
committerRoman Birg <roman@cyngn.com>2016-04-29 17:30:26 -0700
commitd20f7796e45dcae0e619d3bb76a3a89674705702 (patch)
tree3673dabe45a14e35cda0f7bd3eb8b05a6aaf2e82 /src/com/android/launcher3/LauncherApplication.java
parent097b9503f45ae2a50c501fa95d13776d656621bb (diff)
downloadandroid_packages_apps_Trebuchet-d20f7796e45dcae0e619d3bb76a3a89674705702.tar.gz
android_packages_apps_Trebuchet-d20f7796e45dcae0e619d3bb76a3a89674705702.tar.bz2
android_packages_apps_Trebuchet-d20f7796e45dcae0e619d3bb76a3a89674705702.zip
Revert "Trebuchet: send metrics directly when possible"
This reverts commit 097b9503f45ae2a50c501fa95d13776d656621bb. Change-Id: I07e8ee6665b8ed112818a4dc596cf91adf94d6f0
Diffstat (limited to 'src/com/android/launcher3/LauncherApplication.java')
-rw-r--r--src/com/android/launcher3/LauncherApplication.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/com/android/launcher3/LauncherApplication.java b/src/com/android/launcher3/LauncherApplication.java
index 896963e6d..4bbcec073 100644
--- a/src/com/android/launcher3/LauncherApplication.java
+++ b/src/com/android/launcher3/LauncherApplication.java
@@ -20,14 +20,10 @@ import android.app.Application;
import com.android.launcher3.stats.LauncherStats;
import com.android.launcher3.stats.internal.service.AggregationIntentService;
-import com.cyanogen.ambient.analytics.AnalyticsServices;
-import com.cyanogen.ambient.analytics.Event;
-import com.cyanogen.ambient.common.api.AmbientApiClient;
public class LauncherApplication extends Application {
private static LauncherStats sLauncherStats = null;
- private AmbientApiClient mClient;
/**
* Get the reference handle for LauncherStats commands
@@ -41,18 +37,8 @@ public class LauncherApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
- mClient = new AmbientApiClient.Builder(this)
- .addApi(AnalyticsServices.API)
- .build();
- mClient.connect();
sLauncherStats = LauncherStats.getInstance(this);
AggregationIntentService.scheduleService(this);
}
- public void sendEvent(Event event) {
- if (mClient.isConnected()) {
- AnalyticsServices.AnalyticsApi.sendEvent(mClient, event);
- }
- }
-
}