commit | 07666003e20dc99b50f11ddb540d9b2fdf3092ec | [log] [tgz] |
---|---|---|
author | Jack Yu <jackyu@google.com> | Fri Mar 27 19:39:53 2020 -0700 |
committer | Jack Yu <jackyu@google.com> | Fri Mar 27 19:46:47 2020 -0700 |
tree | 1e44be1e0c0e9393c525fbf3b9fff4ec0f4bff7e | |
parent | 929f3d682e0ce546f695e13896526ddd65d3a6d5 [diff] |
Fixed that OK button is not localized Because the dialog is stored as a static variable, so the ok button string resource was not refreshed after language changed. And in fact there is no need to cache the dialog. We should always create it when needed, and let it GC'd when closed. Test: Manual Fix: 145309447 Change-Id: Iaccf51e669dbf76ae4c9fcf149cec665f9090c97