From 0e10b43e06afa1acac6d22687d92c32c5f618bee Mon Sep 17 00:00:00 2001 From: jmir1 Date: Wed, 10 Jan 2024 14:32:55 +0100 Subject: [PATCH] fix: Installing anime extensions on Android 14+ --- .../extension/anime/installer/PackageInstallerInstallerAnime.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt b/app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt index d3d179f9b..de03218d7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt @@ -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)