diff options
author | Phil Weaver <pweaver@google.com> | 2017-09-08 17:09:23 -0700 |
---|---|---|
committer | Phil Weaver <pweaver@google.com> | 2017-09-08 18:04:22 -0700 |
commit | ff7068359bb9814ea383822bc14eaa44265e9f0b (patch) | |
tree | 40fbb1bc810c562de7560c0aa3ccfe7a41b3dbf5 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | acef92cde7ebef6d1e49955a8cf48ff3e3560bdf (diff) |
Handle UiAutomation dying before being connected
There was an opportunity for the UiAutomation's binder
to die before it was connected, which caused an
NPE when it tried to connect.
I also moved the message handling to a different handler
to make it easier to test.
Bug: 65474486
Test: UiAutomation CTS passes. I also added a unit test
that failed in the same way as the bug. That test now
passes.
Change-Id: I31036ace114b21fed64227b62212b95267039d9e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions