mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 17:57:38 +00:00
Fixed launching activities on newer systems
This commit is contained in:
parent
fbac6bcfd0
commit
5875ced367
@ -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) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user