Skip to content

Commit d088bee

Browse files
author
yangtianci
committed
默认debug
1 parent 802fa44 commit d088bee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crashx/src/main/java/com/aiyang/crashx/CrashX.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public CrashX() {
2626
* @return Return zero if successful, non-zero otherwise.
2727
*/
2828
public static int install(Context ctx) {
29-
3029
return install(ctx, null);
3130

3231
}
@@ -68,7 +67,7 @@ private static synchronized int install(Context ctx, InitParameters params) {
6867

6968
public static class InitParameters {
7069
/*是否开启了测试模式*/
71-
boolean isDeBug = true;
70+
boolean isDeBug = BuildConfig.DEBUG;
7271

7372
/*是否开启了拦截主线程,keeploop*/
7473
boolean FIX_MIAN_HHREAD = true;

0 commit comments

Comments
 (0)