// Path: Reddit Headlines for DashClock/src/main/java/net/trolldad/dashclock/redditheadlines/analytics/AnalyticsExceptionParser.java
// public class AnalyticsExceptionParser implements ExceptionParser {
//     public String getDescription(String thread, Throwable throwable) {
//         return "Thread: " + thread + ", Exception: " + Log.getStackTraceString(throwable);
//     }
// }


import android.app.Application;
import android.content.Context;
import android.widget.Toast;
import com.google.analytics.tracking.android.EasyTracker;
import com.google.analytics.tracking.android.ExceptionReporter;
import net.trolldad.dashclock.redditheadlines.analytics.AnalyticsExceptionParser;
import org.androidannotations.annotations.EApplication;
import org.androidannotations.annotations.UiThread;
package net.trolldad.dashclock.redditheadlines;





/**
 * Created by jacob-tabak on 1/3/14.
 */
@EApplication
public class RedditHeadlinesApplication extends Application {
    public static final String TAG = "RedditHeadlinesApplication";
    private static RedditHeadlinesApplication mInstance;

    @Override
    public void onCreate() {
        super.onCreate();
        EasyTracker.getInstance(this);
        Thread.UncaughtExceptionHandler uncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
        if (uncaughtExceptionHandler instanceof ExceptionReporter) {
            ExceptionReporter exceptionReporter = (ExceptionReporter) uncaughtExceptionHandler;
// Path: Reddit Headlines for DashClock/src/main/java/net/trolldad/dashclock/redditheadlines/analytics/AnalyticsExceptionParser.java
// public class AnalyticsExceptionParser implements ExceptionParser {
//     public String getDescription(String thread, Throwable throwable) {
//         return "Thread: " + thread + ", Exception: " + Log.getStackTraceString(throwable);
//     }
// }


// Path: Reddit Headlines for DashClock/src/main/java/net/trolldad/dashclock/redditheadlines/RedditHeadlinesApplication.java
import android.app.Application;
import android.content.Context;
import android.widget.Toast;
import com.google.analytics.tracking.android.EasyTracker;
import com.google.analytics.tracking.android.ExceptionReporter;
import net.trolldad.dashclock.redditheadlines.analytics.AnalyticsExceptionParser;
import org.androidannotations.annotations.EApplication;
import org.androidannotations.annotations.UiThread;

package net.trolldad.dashclock.redditheadlines;





/**
 * Created by jacob-tabak on 1/3/14.
 */
@EApplication
public class RedditHeadlinesApplication extends Application {
    public static final String TAG = "RedditHeadlinesApplication";
    private static RedditHeadlinesApplication mInstance;

    @Override
    public void onCreate() {
        super.onCreate();
        EasyTracker.getInstance(this);
        Thread.UncaughtExceptionHandler uncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
        if (uncaughtExceptionHandler instanceof ExceptionReporter) {
            ExceptionReporter exceptionReporter = (ExceptionReporter) uncaughtExceptionHandler;
            exceptionReporter.setExceptionParser(new AnalyticsExceptionParser());