mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-07-12 07:45:26 +00:00
Improve: Use Default for non-IO operations
This commit is contained in:
@ -66,7 +66,7 @@ class DefaultInstaller(context: Context) : BaseInstaller(context) {
|
|||||||
|
|
||||||
val pendingIntent = PendingIntent.getService(context, -1, intent, flags)
|
val pendingIntent = PendingIntent.getService(context, -1, intent, flags)
|
||||||
|
|
||||||
withContext(Dispatchers.IO) {
|
withContext(Dispatchers.Default) {
|
||||||
sessionInstaller.uninstall(packageName, pendingIntent.intentSender)
|
sessionInstaller.uninstall(packageName, pendingIntent.intentSender)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user