Commit 5875ced3 authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Fixed launching activities on newer systems

parent fbac6bcf
......@@ -31,6 +31,7 @@ open class FlashActivity : MagiskActivity<FlashViewModel, ActivityFlashBinding>(
companion object {
private fun intent(context: Context) = Intent(context, ClassMap[FlashActivity::class.java])
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
private fun intent(context: Context, file: File) = intent(context).setData(file.toUri())
private fun flashType(isSecondSlot: Boolean) =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment