aboutsummaryrefslogtreecommitdiff
path: root/src/org/happysanta/gd/GDApplication.java
blob: 120a5a7aa7ba2724289abe4f34aeffdd9ea22c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.happysanta.gd;

import android.app.Application;
import org.acra.*;
import org.acra.annotation.*;

import static org.acra.ReportField.*;

@ReportsCrashes(
		formKey = "",
		formUri = "http://gdtr.net/report.php",
		customReportContent = {APP_VERSION_NAME, APP_VERSION_CODE, ANDROID_VERSION, PHONE_MODEL, PRODUCT, DISPLAY, STACK_TRACE, LOGCAT, USER_CRASH_DATE, INSTALLATION_ID, CUSTOM_DATA}
)
public class GDApplication extends Application {

	@Override
	public void onCreate() {
		super.onCreate();
		if (Global.ACRA_ENABLED) {
			ACRA.init(this);
		}
	}

}