commit | e19085a0cd4a5f6705d352d8d681ff061ed9b31c | [log] [tgz] |
---|---|---|
author | Ahaan Ugale <augale@google.com> | Mon May 03 19:45:02 2021 -0700 |
committer | Ahaan Ugale <augale@google.com> | Tue May 04 05:35:26 2021 +0000 |
tree | 1d6afc96628493f70a4a721f5d7ec0244937e772 | |
parent | 19a0cc757477855e2d7296c9b4b248481432e691 [diff] |
Fix UiTranslationStateCallback crash due to null locales. The locales aren't available on a RESUMED event; now they're stored on a STARTED event. The crash happens because the default Callback impl converts the Locale to a string to support a deprecated method. Fix: 186392998 Test: manual - install test apk which triggers the crash. no crash with this change. Change-Id: Iaceca8d29f4c2b0d692c8f6780b0ab963e4e2243