Home
last modified time | relevance | path

Searched refs:mainLanguage (Results 1 – 1 of 1) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java546 String mainLanguage = Util.splitAtFirst(normalizedTag, "-")[0]; in normalizeLanguageCode() local
550 @Nullable String replacedLanguage = languageTagReplacementMap.get(mainLanguage); in normalizeLanguageCode()
553 replacedLanguage + normalizedTag.substring(/* beginIndex= */ mainLanguage.length()); in normalizeLanguageCode()
554 mainLanguage = replacedLanguage; in normalizeLanguageCode()
556 if ("no".equals(mainLanguage) || "i".equals(mainLanguage) || "zh".equals(mainLanguage)) { in normalizeLanguageCode()