diff --git a/include/androidfw/ResourceTypes.h b/include/androidfw/ResourceTypes.h index 88fecceff5fb3..d8801b8709ee5 100644 --- a/include/androidfw/ResourceTypes.h +++ b/include/androidfw/ResourceTypes.h @@ -1128,7 +1128,6 @@ struct ResTable_config // configuration. (eg. Hant, Latn, etc.). Interpreted in conjunction with // the locale field. char localeScript[4]; - bool localeScriptWasProvided; // A single BCP-47 variant subtag. Will vary in length between 4 and 8 // chars. Interpreted in conjunction with the locale field. @@ -1152,6 +1151,10 @@ struct ResTable_config uint32_t screenConfig2; }; + // If true, it means that the script of the locale was explicitly provided. + // If false, it means that the script was automatically computed. + bool localeScriptWasProvided; + void copyFromDeviceNoSwap(const ResTable_config& o); void copyFromDtoH(const ResTable_config& o);