commit | f8f2f16f69fc6743000f824a1bc0e607416ab917 | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Tue Feb 25 13:47:45 2020 -0500 |
committer | Beverly Tai <beverlyt@google.com> | Wed Feb 26 15:02:03 2020 +0000 |
tree | 91c6e421a5e8c8f3c7393b924aac3a2b2907f5c0 | |
parent | 969e1e2759c0fad8862df2a9b4467e2e0bfb4594 [diff] |
Don't use main handler in ImageWallpaperTest ImageWallpaperTest was creating an Engine that was run on the main thread. Instead, pass a mocked handler to the Engine so that the main thread isn't unnecessarily doing work in a test which may cause other tests to fail. Test: atest SystemUITests Bug: 149204632 Change-Id: Ifc5f52bc33cd661c2b7818ccf7e8dafedd60d6c9