commit | 03243ecf0b152041c6563adc0289cdcfb853c07a | [log] [tgz] |
---|---|---|
author | Nicholas Sauer <nicksauer@google.com> | Wed Feb 13 23:31:42 2019 -0800 |
committer | Nicholas Sauer <nicksauer@google.com> | Wed Feb 13 23:33:24 2019 -0800 |
tree | 6a2182ee468d1e9f0fbc20dd44273002fdceea14 | |
parent | a366aecd753cb75e79f4537402212a9f49b7c290 [diff] |
Switch to system user before running incident module. Module tests features that only work for user 0 (ErrorTest verifies DropBoxManager which only broadcasts to user 0). Use target provider to switch to user 0 before the module execution, and switch back to whatever user we were in after we're done. bug: 123154921 Test: cts-tradefed run cts-dev -m CtsIncidentHostTestCases Change-Id: I58c228bbbdfe0c623ee92f5deaa53a80ea79138e