You use "internal" for INTERNAL_CONTENT_URI and "external" for EXTERNAL_CONTENT_URI , as shown in the source code:
public static Uri getContentUri(String volumeName) { return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + "/images/media"); } public static final Uri INTERNAL_CONTENT_URI = getContentUri("internal"); public static final Uri EXTERNAL_CONTENT_URI = getContentUri("external");
CONTENT_AUTHORITY_SLASH not worse than content://media/ .
public static final String AUTHORITY = "media"; private static final String CONTENT_AUTHORITY_SLASH = "content://" + AUTHORITY + "/";
source share