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