change the required contact photo resolution from 720 to 512

This commit is contained in:
tibbi 2020-04-29 18:07:15 +02:00
parent 58924763a0
commit b8e633aea8

View file

@ -301,8 +301,8 @@ class EditContactActivity : ContactActivity() {
Intent("com.android.camera.action.CROP").apply {
setDataAndType(imageUri, "image/*")
putExtra(MediaStore.EXTRA_OUTPUT, lastPhotoIntentUri)
putExtra("outputX", 720)
putExtra("outputY", 720)
putExtra("outputX", 512)
putExtra("outputY", 512)
putExtra("aspectX", 1)
putExtra("aspectY", 1)
putExtra("crop", "true")