summaryrefslogtreecommitdiff
path: root/tools/aapt2/Locale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/Locale.cpp')
-rw-r--r--tools/aapt2/Locale.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/aapt2/Locale.cpp b/tools/aapt2/Locale.cpp
index 12f56fc11226..be576613b9b2 100644
--- a/tools/aapt2/Locale.cpp
+++ b/tools/aapt2/Locale.cpp
@@ -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]) {