Merge "Removing assignments to localeScriptWasComputed in aapt." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
08a3fa7dea
@@ -388,10 +388,6 @@ void AaptLocaleValue::writeTo(ResTable_config* out) const {
|
|||||||
|
|
||||||
if (script[0]) {
|
if (script[0]) {
|
||||||
memcpy(out->localeScript, script, sizeof(out->localeScript));
|
memcpy(out->localeScript, script, sizeof(out->localeScript));
|
||||||
out->localeScriptWasComputed = false;
|
|
||||||
} else {
|
|
||||||
out->computeScript();
|
|
||||||
out->localeScriptWasComputed = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (variant[0]) {
|
if (variant[0]) {
|
||||||
|
|||||||
@@ -268,10 +268,6 @@ void LocaleValue::writeTo(ResTable_config* out) const {
|
|||||||
|
|
||||||
if (script[0]) {
|
if (script[0]) {
|
||||||
memcpy(out->localeScript, script, sizeof(out->localeScript));
|
memcpy(out->localeScript, script, sizeof(out->localeScript));
|
||||||
out->localeScriptWasComputed = false;
|
|
||||||
} else {
|
|
||||||
out->computeScript();
|
|
||||||
out->localeScriptWasComputed = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (variant[0]) {
|
if (variant[0]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user