Skip to content

Commit

Permalink
Merge pull request #7 from jvoltci/sync-bug
Browse files Browse the repository at this point in the history
Fixed: Sync Thread  bug
  • Loading branch information
jvoltci authored Mar 15, 2022
2 parents c50e06e + accf916 commit 30cf9f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ internal class DocumentFileApi(private val plugin: SafPlugin) :
}
SYNC_WITH_EXTERNAL_FILES_DIRECTORY -> {
if (Build.VERSION.SDK_INT >= API_21) {
Thread(syncWithExternalFilesDirectory(call, result, plugin.context, util!!)).run()
Thread(syncWithExternalFilesDirectory(call, result, plugin.context, util!!)).start()
}
}
DYNAMIC_SYNC_WITH_EXTERNAL_FILES_DIRECTORY -> {
Expand Down

0 comments on commit 30cf9f5

Please sign in to comment.