Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edef50b6 authored by Roozbeh Pournader's avatar Roozbeh Pournader Committed by Android (Google) Code Review
Browse files

Merge "Move localeScriptWasProvided to end of ResTable_config"

parents 727aa9c2 7cdb3e3e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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);