Skip to content

Commit

Permalink
Strict Mode: Fix UnsafeIntentLaunchViolation when using CropImageActi…
Browse files Browse the repository at this point in the history
…vity. (#502)
  • Loading branch information
vanniktech authored Oct 24, 2022
1 parent 347b967 commit 4e7ead8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ open class CropImageActivity : AppCompatActivity(), OnSetImageUriCompleteListene
sampleSize,
)
val intent = Intent()
intent.putExtras(getIntent())
intent.extras?.let(intent::putExtras)
intent.putExtra(CropImage.CROP_IMAGE_EXTRA_RESULT, result)
return intent
}
Expand Down

0 comments on commit 4e7ead8

Please sign in to comment.