Android: 清除View跳转的历史记录
Intent intent = new Intent();
intent.setClass(SetActivity.this, RegisterLoginActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent);
Intent intent = new Intent();
intent.setClass(SetActivity.this, RegisterLoginActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent);