commit | 7efcd58c80591cd8e49108bfe2a368aad81a11e7 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Thu Mar 31 16:50:36 2016 -0700 |
committer | George Mount <mount@google.com> | Fri Apr 01 07:04:02 2016 -0700 |
tree | bdbe68fe9925ff45a771fe4c74df5933908f05e9 | |
parent | c719d08f252d4244e4949b4296956f2b91a37de4 [diff] |
Run test on UI thread to prevent layout in the middle. Bug 27747569 The assist structure is being captured and then compared to the View layout structure. Because the test was being run on an off-UI thread, it was possible for UI layout to happen in the middle of the test, causing it to fail. This CL forces the test to happen on the UI thread to prevent a layout in the middle of the comparison. Change-Id: Ibe8f2617d0060ca4c0eb8e8363dcce3b16ceafb8