commit | 52b754d270b5fad05e5c0946f85bae1b2067250c | [log] [tgz] |
---|---|---|
author | Jack Yu <jackyu@google.com> | Fri Mar 27 19:39:53 2020 -0700 |
committer | Jack Yu <jackyu@google.com> | Fri Apr 17 21:51:19 2020 -0700 |
tree | dbfb09a6ade106db6bc9eab5f150ccda1e817f13 | |
parent | 7bea4804620e8f5bebb3019dfa80f16408bca89e [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 Merged-In: Iaccf51e669dbf76ae4c9fcf149cec665f9090c97 Change-Id: Iaccf51e669dbf76ae4c9fcf149cec665f9090c97 (cherry picked from commit 07666003e20dc99b50f11ddb540d9b2fdf3092ec)