conversations-classic/src/eu/siacs/conversations/utils/ExceptionHelper.java
2014-03-09 13:21:28 +01:00

12 lines
319 B
Java

package eu.siacs.conversations.utils;
import android.content.Context;
public class ExceptionHelper {
public static void init(Context context) {
if(!(Thread.getDefaultUncaughtExceptionHandler() instanceof ExceptionHandler)) {
Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(context));
}
}
}