Merge "Add more logs for WorkTabTest flake investigation" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2020-11-05 18:08:34 +00:00
commit 2b2c448679
1 file changed
+2 -1
@@ -65,12 +65,13 @@ public class WorkTabTest extends AbstractLauncherUiTest {
String[] tokens = output.split("\\s+");
mProfileUserId = Integer.parseInt(tokens[tokens.length - 1]);
Log.d(TestProtocol.WORK_PROFILE_REMOVED, "Created new user uid" + mProfileUserId);
mDevice.executeShellCommand("am start-user " + mProfileUserId);
}
@After
public void removeWorkProfile() throws Exception {
Log.d(TestProtocol.WORK_PROFILE_REMOVED, "(teardown) removing uid" + mProfileUserId);
mDevice.executeShellCommand("pm remove-user " + mProfileUserId);
}