diff --git a/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java b/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java index 3819dd4d3f..ecb8365710 100644 --- a/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java +++ b/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java @@ -25,6 +25,7 @@ import android.content.Context; import android.os.Binder; import android.os.Bundle; import android.system.Os; +import android.util.Log; import androidx.annotation.Keep; import androidx.annotation.Nullable; @@ -61,6 +62,7 @@ public class DebugTestInformationHandler extends TestInformationHandler { public void onActivityCreated(Activity activity, Bundle bundle) { sActivities.put(activity, true); ++sActivitiesCreatedCount; + Log.d(TestProtocol.FLAKY_ACTIVITY_COUNT, "onActivityCreated", new Exception()); } @Override diff --git a/tests/shared/com/android/launcher3/testing/shared/TestProtocol.java b/tests/shared/com/android/launcher3/testing/shared/TestProtocol.java index 7f2d4a044a..8cc01ff32b 100644 --- a/tests/shared/com/android/launcher3/testing/shared/TestProtocol.java +++ b/tests/shared/com/android/launcher3/testing/shared/TestProtocol.java @@ -155,6 +155,7 @@ public final class TestProtocol { public static final String PERMANENT_DIAG_TAG = "TaplTarget"; public static final String WORK_TAB_MISSING = "b/243688989"; public static final String TWO_TASKBAR_LONG_CLICKS = "b/262282528"; + public static final String FLAKY_ACTIVITY_COUNT = "b/260260325"; public static final String REQUEST_EMULATE_DISPLAY = "emulate-display"; public static final String REQUEST_STOP_EMULATE_DISPLAY = "stop-emulate-display";