commit | b5f26d897d16c6533b956e320425139ccdfe19bb | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Thu Mar 26 17:14:26 2020 +0800 |
committer | Philip P. Moltmann <moltmann@google.com> | Tue Oct 27 16:32:19 2020 +0000 |
tree | 27a2f43fac98eb6712179d653db644b38de6e1ac | |
parent | 0c56d28a197c53740c54442cb3855f36a347a975 [diff] |
Let #getUiAutomation return null if UiAutomation fails to connect (3/n) Now #getUiAutomation returns null if the underlying UiAutomation fails to connect for targetSdkVersion > R. This gives the caller a chance to retry and decide when to give up. Bug: 147785023 Test: presubmit Change-Id: Ibf201fa042b80c067f2a0c3b0bde23adf9c60546 Merged-In: Ibf201fa042b80c067f2a0c3b0bde23adf9c60546