summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJulia Kawano <juliakawano@google.com>2020-09-09 06:16:41 +0000
committerJulia Kawano <juliakawano@google.com>2020-09-11 05:04:04 +0000
commit1e91e474f7e0d3cc8e57b702e6bb21563a00ca98 (patch)
tree9021b3f3ca70b2b6bc551303319750c210bd6def /tools/aapt2/java/JavaClassGenerator_test.cpp
parent28733d027585d7fb6e236658030c8a23c3986f66 (diff)
Fix crash from UserNameViewController.removeAll()
The UserNamveViewController was calling removeListener() before the listener had been registered. Added a boolean mRegistered to check if the listener has been registered before removing it and added a test that calls removeAll() before a listener is registered. Bug: 168065924 Test: atest UserNameViewControllerTest Change-Id: If24374e51a61c943142ba3a8794aca548dd241cc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions