mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-22 21:02:16 +03:00
fix: Installing anime extensions on Android 14+
This commit is contained in:
parent
762cf29ff9
commit
0e10b43e06
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class PackageInstallerInstallerAnime(private val service: Service) : InstallerAn
|
|||
val intentSender = PendingIntent.getBroadcast(
|
||||
service,
|
||||
activeSession!!.second,
|
||||
Intent(INSTALL_ACTION),
|
||||
Intent(INSTALL_ACTION).setPackage(service.packageName),
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) PendingIntent.FLAG_MUTABLE else 0,
|
||||
).intentSender
|
||||
session.commit(intentSender)
|
||||
|
|
Loading…
Reference in a new issue