Minor changes

This commit is contained in:
len
2017-01-01 20:54:41 +01:00
parent 3a1699f0b3
commit beca2b429c
3 changed files with 7 additions and 2 deletions
@@ -78,8 +78,7 @@ object LocaleHelper {
if (systemLocale == null) {
systemLocale = getConfigLocale(config)
}
// In API 16 and lower [systemLocale] can't be changed.
if (configChange && Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
if (configChange) {
val configLocale = getConfigLocale(config)
if (currentLocale == configLocale) {
return