@Nullable
  public static AssetFileDescriptor getAssetFileDescriptor(
      ContentResolver contentResolver, final Uri srcUri) {
    if (isLocalContentUri(srcUri)) {
      try {
        return contentResolver.openAssetFileDescriptor(srcUri, "r");
      } catch (FileNotFoundException e) {
        return null;
      }
    }
    return null;
  }
Gets the AssetFileDescriptor for a local file. This offers an alternative solution for opening
content:// scheme files

@param contentResolver the content resolver which will query for the source file
@param srcUri The source uri
@return The AssetFileDescriptor for the file or null if it doesn't exist
fbcore/src/main/java/com/facebook/common/util/UriUtil.java