commit | ff7068359bb9814ea383822bc14eaa44265e9f0b | [log] [tgz] |
---|---|---|
author | Phil Weaver <pweaver@google.com> | Fri Sep 08 17:09:23 2017 -0700 |
committer | Phil Weaver <pweaver@google.com> | Fri Sep 08 18:04:22 2017 -0700 |
tree | 40fbb1bc810c562de7560c0aa3ccfe7a41b3dbf5 | |
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