automatically switch to crop_rotate primary action at Crop intent
This commit is contained in:
parent
3c48af1c91
commit
91bb5b70de
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,12 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
|
||||||
initialBitmap = bitmap
|
initialBitmap = bitmap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isCropIntent) {
|
||||||
|
loadCropImageView()
|
||||||
|
bottom_primary_filter.beGone()
|
||||||
|
bottom_primary_crop_rotate.performClick()
|
||||||
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}).into(default_image_view)
|
}).into(default_image_view)
|
||||||
|
|
Loading…
Reference in a new issue