diff options
author | Ahaan Ugale <augale@google.com> | 2021-05-03 19:45:02 -0700 |
---|---|---|
committer | Ahaan Ugale <augale@google.com> | 2021-05-04 05:35:26 +0000 |
commit | e19085a0cd4a5f6705d352d8d681ff061ed9b31c (patch) | |
tree | 1d6afc96628493f70a4a721f5d7ec0244937e772 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions