| commit | f75e0a0512cff2af4ff0d88c690fb00fd541ced9 | [log] [tgz] |
|---|---|---|
| author | Kohsuke Yatoh <kyatoh@google.com> | Thu Apr 07 23:49:25 2022 -0700 |
| committer | Kohsuke Yatoh <kyatoh@google.com> | Fri Apr 08 17:31:26 2022 -0700 |
| tree | 3740448afe0d6748545b2083baca0110befb6f2b | |
| parent | 9074b73ec7942c6515a2a1e519cd16d18dd9ce59 [diff] |
Take screenshot on failure. ScreenCaptureRule is inspired by ScreenshotTestRule [1], but does not require additional permissions as ScreenCaptureRule uses Shell permission. [1] https://cs.android.com/android/platform/superproject/+/master:cts/tests/tests/systemui/src/android/systemui/cts/ScreenshotTestRule.java Bug: 227712564 Bug: 227424350 Test: atest InputMethodStressTest Change-Id: I8569cb09a430540ac3f932e36bc80800312e7865