Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit febf3030 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

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
parent 4fb4149e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment