commit | d0f730229daacd839c4d4188e0e6656aeeb7ba75 | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Sun Oct 31 22:16:42 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sun Oct 31 22:16:42 2021 +0000 |
tree | ca1eecf245944f303f2df22d930011dbea714b16 | |
parent | 908552fad3c201c220b7c71342d3a3fa308def8a [diff] | |
parent | f45ec6dc1d9fc73be074a76fc8bd414a7f281e67 [diff] |
Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev am: f45ec6dc1d Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120082 Change-Id: I880c0487af2ef0cb791bcc32929536cc7374a81e
diff --git a/tests/src/com/android/launcher3/ui/WorkProfileTest.java b/tests/src/com/android/launcher3/ui/WorkProfileTest.java index fcb0b7f..41cdf0f 100644 --- a/tests/src/com/android/launcher3/ui/WorkProfileTest.java +++ b/tests/src/com/android/launcher3/ui/WorkProfileTest.java
@@ -22,6 +22,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; +import android.util.Log; import android.view.View; import com.android.launcher3.R; @@ -51,6 +52,7 @@ String output = mDevice.executeShellCommand( "pm create-user --profileOf 0 --managed TestProfile"); + Log.d("b/203817455", "pm create-user; output: " + output); assertTrue("Failed to create work profile", output.startsWith("Success")); String[] tokens = output.split("\\s+");