Whenever i start a transparent activity from background, it opens on top of the already existing app, instead of over the current app
Heres my what i use to open a new activity
val mIntent = Intent(context, TakePicture::class.java)
mIntent.flags = (Intent.FLAG_ACTIVITY_NEW_TASK)
context.startActivity(mIntent)
New contributor
Ryfter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.