Write dumpOnFailure to app files
The DumpOnFailure utility was trying to write to /sdcard/DumpOnFailure, which would fail if the test app did not have the permission for external storage. Instead, we can simply write to the files of the test app, and pull from there, removing and requirements on permissions. This also removes the manual cleanup of these files, instead delegating it to the FilePullerLogCollector, which will only clean up after successfully reading the files. This also adds the dumpOnFailure for IME tests that use UiDevice. Lastly, it changes the manifest of these tests to refer to the real package name, for consistency. Flag: EXEMPT testfix Bug: 395783236 Test: atest InputMethodServiceTest Change-Id: I6dece3f39a2f3ee3273b6ef12e3314f807d3457f
Loading
Please register or sign in to comment
