diff --git a/cropper/src/main/java/com/theartofdev/edmodo/cropper/CropImageHelper.java b/cropper/src/main/java/com/theartofdev/edmodo/cropper/CropImageHelper.java index c8d7f0d5..5f3c81a6 100644 --- a/cropper/src/main/java/com/theartofdev/edmodo/cropper/CropImageHelper.java +++ b/cropper/src/main/java/com/theartofdev/edmodo/cropper/CropImageHelper.java @@ -66,9 +66,8 @@ public static void startPickImageActivity(Activity activity) { } /** - * Create a chooser intent to select the source to get image from.
- * The source can be camera's ({@link android.provider.MediaStore.ACTION_IMAGE_CAPTURE}) - * or gallery's ({@link Intent.ACTION_GET_CONTENT}).
+ * Create a chooser intent to select the source to get image from.
+ * The source can be camera's (ACTION_IMAGE_CAPTURE) or gallery's (ACTION_GET_CONTENT).
* All possible sources are added to the intent chooser. * * @param context used to access Android APIs, like content resolve, it is your activity/fragment/widget. @@ -139,7 +138,7 @@ public static Uri getCaptureImageOutputUri(Context context) { } /** - * Get the URI of the selected image from {@link #getPickImageChooserIntent()}.
+ * Get the URI of the selected image from {@link #getPickImageChooserIntent(Context)}.
* Will return the correct URI for camera and gallery image. * * @param context used to access Android APIs, like content resolve, it is your activity/fragment/widget. @@ -155,8 +154,8 @@ public static Uri getPickImageResultUri(Context context, Intent data) { } /** - * Check if the given picked image URI requires {@link Manifest.permission.READ_EXTERNAL_STORAGE} permissions.
- * Only relevant for {@link Build.VERSION_CODES.M} and above and not required for all URI's depends on the + * Check if the given picked image URI requires READ_EXTERNAL_STORAGE permissions.
+ * Only relevant for API version 23 and above and not required for all URI's depends on the * implementation of the app that was used for picking the image. So we just test if we can open the stream or * do we get an exception when we try, Android is awesome. * @@ -172,7 +171,7 @@ public static boolean isReadExternalStoragePermissionsRequired(Context context, /** * Test if we can open the given Android URI to test if permission required error is thrown.
- * Only relevant for {@link Build.VERSION_CODES.M} and above. + * Only relevant for API version 23 and above. * * @param context used to access Android APIs, like content resolve, it is your activity/fragment/widget. * @param uri the result URI of image pick.