diff --git a/app/src/main/java/com/stevesoltys/seedvault/restore/install/ApkInstaller.kt b/app/src/main/java/com/stevesoltys/seedvault/restore/install/ApkInstaller.kt index 4e51a292d..38a7e6025 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/restore/install/ApkInstaller.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/restore/install/ApkInstaller.kt @@ -51,7 +51,8 @@ internal class ApkInstaller(private val context: Context) { cont.resume(onBroadcastReceived(i, packageName, cachedApks, installResult)) } } - context.registerReceiver(broadcastReceiver, IntentFilter(BROADCAST_ACTION)) + context.registerReceiver(broadcastReceiver, IntentFilter(BROADCAST_ACTION), + Context.RECEIVER_NOT_EXPORTED) cont.invokeOnCancellation { context.unregisterReceiver(broadcastReceiver) } install(cachedApks, installerPackageName)