Merge "Remove bogus 2 char limit for locales and countries."

This commit is contained in:
Narayan Kamath
2014-07-02 08:08:36 +00:00
committed by Gerrit Code Review

View File

@@ -391,8 +391,8 @@ static void readLocale(char* language, char* region)
property_get("ro.product.locale.language", propLang, "en");
property_get("ro.product.locale.region", propRegn, "US");
}
strncat(language, propLang, 2);
strncat(region, propRegn, 2);
strncat(language, propLang, 3);
strncat(region, propRegn, 3);
//ALOGD("language=%s region=%s\n", language, region);
}