Specify broadcast receiver export flags
Really only useful once we target Android 14, but doesn't hurt to do it now.
This commit is contained in:
@@ -264,7 +264,7 @@ internal class ExtensionInstaller(private val context: Context) {
|
||||
isRegistered = true
|
||||
|
||||
val filter = IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE)
|
||||
context.registerReceiver(this, filter)
|
||||
ContextCompat.registerReceiver(context, this, filter, ContextCompat.RECEIVER_EXPORTED)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user