* commit 'c61a7575eb0e3d1788ce1946da81d6c5e6812b9c': Remove bogus 2 char limit for locales and countries.
This commit is contained in:
@@ -395,8 +395,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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user