In this code, two Intent flags have been added in the wrong way. Fix the problem to make the code work. Make sure the answer contains the entire problematic line!
val intent = Intent(this, SecondActivity::class.java)
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK
startActivity(intent)