|
@@ -5,6 +5,7 @@ import android.app.Application;
|
|
|
import android.app.PendingIntent;
|
|
|
import android.content.Context;
|
|
|
import android.content.Intent;
|
|
|
+import android.os.Build;
|
|
|
import android.util.Log;
|
|
|
|
|
|
import com.blankj.utilcode.util.AppUtils;
|
|
@@ -100,7 +101,11 @@ public class XCrashUtils {
|
|
|
debug(logPath, null);
|
|
|
}
|
|
|
|
|
|
- AppUpdateHelper.reboot(app);
|
|
|
+ if ("rk3128".equals(Build.MODEL)) {
|
|
|
+ AppUpdateHelper.reboot(app);
|
|
|
+ } else {
|
|
|
+ AppUtils.relaunchApp(true);
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
|