android应用中有查询列表的接口和页面,当点击特别快的时候会出现数组越界异常导致应用崩溃,自定义类实现Thread.UncaughtExceptionHandle接口后捕获奔溃,但是使用了以下代码
@Override
public void uncaughtException(Thread thread, Throwable throwable) {
LogUtils.e("崩溃","异常奔溃");
CalssSystemApplication.getInstance().stopTimer();
System.exit(0);
Intent intent = new Intent(app, FullscreenActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_SINGLE_TOP);
app.startActivity(intent);
android.os.Process.killProcess(android.os.Process.myPid());
}
真机重启应用了,但是android studio自带的模拟器没有重启,请问哪位知道这是哪里的问题?