Skip to content
Snippets Groups Projects
Commit bfb07b45 authored by Francesco's avatar Francesco
Browse files
# Conflicts:
#	app/build.gradle
#	app/src/main/java/ohi/andre/consolelauncher/LauncherActivity.java
parents 846187d3 5a251330
No related branches found
No related tags found
No related merge requests found
package ohi.andre.consolelauncher;
public class FlavorUtils {
public static void startANR () {
}
}
package ohi.andre.consolelauncher;
import com.github.anrwatchdog.ANRError;
import com.github.anrwatchdog.ANRWatchDog;
import ohi.andre.consolelauncher.tuils.Tuils;
public class FlavorUtils {
public static void startANR () {
new ANRWatchDog(5000)
.setANRListener(new ANRWatchDog.ANRListener() {
@Override
public void onAppNotResponding(ANRError anrError) {
Tuils.log(anrError);
Tuils.toFile(anrError);
}
})
.setReportMainThreadOnly()
.start();
}
}
......@@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.google.gms:google-services:3.1.0'
}
}
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment