Skip to content

Commit

Permalink
Fix calling the callback multiple times in the ActivityResultHandler.…
Browse files Browse the repository at this point in the history
…kt when the intent was not found
  • Loading branch information
Morteza-Rastgoo committed Sep 2, 2021
1 parent 1c72330 commit a8f3896
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class ActivityResultImpl(private val registry: ActivityResultRegistry,
try {
startForResult.launch(intent)
} catch (e: Exception) {
e.printStackTrace()
onResult(null)
// e.printStackTrace()
}

}
Expand Down

0 comments on commit a8f3896

Please sign in to comment.