Improve: Use Default for non-IO operations

This commit is contained in:
LooKeR 2021-11-24 09:04:53 +05:30
parent 5081e1f017
commit 84d951328d

View File

@ -66,7 +66,7 @@ class DefaultInstaller(context: Context) : BaseInstaller(context) {
val pendingIntent = PendingIntent.getService(context, -1, intent, flags)
withContext(Dispatchers.IO) {
withContext(Dispatchers.Default) {
sessionInstaller.uninstall(packageName, pendingIntent.intentSender)
}
}