More temporary logging to diagnose testPendingWidget_autoRestored

And waiting to loader to finish to improve determinism.

Bug: 117332845
Test: running Launcher
Change-Id: Icdfce969b61f8ceb952a2715037783458da4d4c4
This commit is contained in:
Vadim Tryshev committed 2018-10-05 20:05:34 -07:00
1 parent 51146bc7e6
commit a7da86e14a
3 files changed
+27

No files matched your search

@@ -563,6 +563,11 @@ public class LauncherModel extends BroadcastReceiver
synchronized (mLock) {
// Everything loaded bind the data.
mModelLoaded = true;
if (com.android.launcher3.Utilities.IS_RUNNING_IN_TEST_HARNESS
&& com.android.launcher3.Utilities.IS_DEBUG_DEVICE) {
android.util.Log.d("b/117332845",
android.util.Log.getStackTraceString(new Throwable()));
}
}
}