commit | 5273fb4f8ae6cc77160d5678f2e65e6817ba1a8f | [log] [tgz] |
---|---|---|
author | Akshay Joshi <joshiakshay@google.com> | Tue Jan 30 08:35:41 2018 -0800 |
committer | Akshay Joshi <joshiakshay@google.com> | Thu Feb 01 12:13:49 2018 -0800 |
tree | 1b99006c46a15832332f5d602615f3e5bc76baca | |
parent | 0b815f31882794db5efc56d9308b025204f694b3 [diff] |
Update TextureViewTest to use PixelCopy This test uses the UiAutomator framework to take a screenshot which captures the primary display. If the activity is launched on a virtual display then the test will fail at the pixel comparison step. Update the test to instead use PixelCopy to capture content in the activity's window. Bug: 65742914 Test: TextureViewTest#testFirstFrames Change-Id: Ie1012da758933a6f66a0876d8aaa57ef78dac05b