mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-29 21:33:07 -08:00
Rollback stop task service before opening, ViewModel implementation seems fix the previous crash
This commit is contained in:
1 parent
8fc30f590b
commit
9cdbe67cd4
1 file changed
+1
+1
@@ -215,6 +215,7 @@ class ProgressDatabaseTaskProvider(private val activity: FragmentActivity) {
|
||||
}
|
||||
|
||||
private fun start(bundle: Bundle? = null, actionTask: String) {
|
||||
activity.stopService(intentDatabaseTask)
|
||||
if (bundle != null)
|
||||
intentDatabaseTask.putExtras(bundle)
|
||||
intentDatabaseTask.action = actionTask
|
||||
|
||||
Reference in new issue
Block a user