locate (minor change)
This commit is contained in:
parent
c8a287b84f
commit
869cf3398e
|
@ -137,6 +137,16 @@ public class NewPipe {
|
||||||
countryLanguage = language.append(",*;q=0.3").toString();
|
countryLanguage = language.append(",*;q=0.3").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the language for HTTP requests and which locale variant is preferred.
|
||||||
|
*
|
||||||
|
* @param defaultCountry Default country code to be used if not possible
|
||||||
|
* determine the device country code. This parameter can be NULL.
|
||||||
|
*/
|
||||||
|
public static void setCountryLanguage(@Nullable String defaultCountry) {
|
||||||
|
setCountryLanguage(null, defaultCountry);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the language for HTTP requests
|
* Get the language for HTTP requests
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue