fdroiddata/metadata/com.iskrembilen.quasseldroid/splash.patch

26 lines
1.4 KiB
Diff
Raw Normal View History

2014-06-26 23:10:33 +00:00
diff --git a/QuasselDroid/src/main/java/com/iskrembilen/quasseldroid/gui/SplashActivity.java b/QuasselDroid/src/main/java/com/iskrembilen/quasseldroid/gui/SplashActivity.java
index 8518b2d..d795808 100644
--- a/QuasselDroid/src/main/java/com/iskrembilen/quasseldroid/gui/SplashActivity.java
+++ b/QuasselDroid/src/main/java/com/iskrembilen/quasseldroid/gui/SplashActivity.java
@@ -11,7 +11,6 @@ import android.os.IBinder;
import android.util.Log;
import com.actionbarsherlock.app.SherlockActivity;
-import com.crittercism.app.Crittercism;
import com.iskrembilen.quasseldroid.R;
import com.iskrembilen.quasseldroid.events.ConnectionChangedEvent;
import com.iskrembilen.quasseldroid.events.ConnectionChangedEvent.Status;
@@ -30,12 +29,6 @@ public class SplashActivity extends SherlockActivity {
protected void onCreate(Bundle savedInstanceState) {
setTheme(ThemeUtil.theme);
super.onCreate(savedInstanceState);
- //Init crittercism
- boolean isDebugBuild = (0 != (getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE));
- if (!isDebugBuild && getResources().getBoolean(R.bool.use_crittercism)) {
- Log.i(TAG, "Enabling Crittercism");
- Crittercism.init(getApplicationContext(), getResources().getString(R.string.crittercism_api_key));
- }
setContentView(R.layout.splash);
getSupportActionBar().hide();
}