public static boolean isDownloadsDocument(Uri uri) {
        return "com.android.providers.downloads.documents".equals(uri.getAuthority());
    }
@param uri The Uri to check.
@return Whether the Uri authority is DownloadsProvider.
sample/src/main/java/com/fenctose/imagecropper/BitmapUtils.java