commit | a545ac4eca838d90d499d60fa5a0d68221821e13 | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Sun Oct 31 22:27:34 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sun Oct 31 22:27:34 2021 +0000 |
tree | 91d789986cd6d936f8fb448b87269a9560b4b482 | |
parent | 5cc195f44951eb9e42479e36150e95a30b6413e0 [diff] | |
parent | f3f49be082a4e7212c5e30f5695896de9d19762b [diff] |
Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev am: f45ec6dc1d am: f3f49be082 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120082 Change-Id: I03acf0c3cfbc3801da83740b34178acbfbeb7d4b
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+");