From cb1e6f95ae02a8670a85d50db8dc95a8bbb3622d Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Mon, 7 Aug 2017 10:32:18 -0700 Subject: [PATCH] AAPT2: Fix typo in Config parsing The 'any' syntax of a configuration is rarely used so this has not been an issue in the field. Test: none Bug: 65645766 Change-Id: Icb9cb2d5ad061e3ea1c43dc1cd7ca2f222965cdc Merged-In: Icb9cb2d5ad061e3ea1c43dc1cd7ca2f222965cdc --- tools/aapt2/ConfigDescription.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/aapt2/ConfigDescription.cpp b/tools/aapt2/ConfigDescription.cpp index 7ff0c7227c9c8..6a099651f2ce5 100644 --- a/tools/aapt2/ConfigDescription.cpp +++ b/tools/aapt2/ConfigDescription.cpp @@ -70,7 +70,7 @@ static bool parseMcc(const char* name, ResTable_config* out) { static bool parseMnc(const char* name, ResTable_config* out) { if (strcmp(name, kWildcardName) == 0) { - if (out) out->mcc = 0; + if (out) out->mnc = 0; return true; } const char* c = name;