commit | 076dcdfd5445536f31c723b055de0064d2772531 | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Thu Jun 08 13:52:06 2023 -0700 |
committer | Brandon Dayauon <brdayauon@google.com> | Mon Jun 12 14:33:08 2023 -0700 |
tree | d73f30877de55f1957032a04c396465a94994243 | |
parent | fb261c428b5ce6f8c78a874ac27163609640ca1d [diff] |
Fix custom buttons with translated string The reason why the buttons aren't being updated with the translated string is because the cache the views get the string from is not updated/loaded with the new language. Rather, the update happens after the view has been inflated. With this change, when the string cache updates in bindStringCache(), we update the UI right then. bug: 280958663 test: Manual Change-Id: I7a49ee401d5a5f3268cfaef1abee8153e913a8ce