Class LocaleCompat

java.lang.Object
org.schabi.newpipe.extractor.utils.LocaleCompat

public final class LocaleCompat extends Object
This class contains a simple implementation of Locale.forLanguageTag(String) for Android API levels below 21 (Lollipop). This is needed as core library desugaring does not backport that method as of this writing.
Relevant issue: https://issuetracker.google.com/issues/171182330