diff --git a/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java b/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java index dc28c6aabc..e5b2c678ad 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 8a258127b6..2ac0dd7419 100644 --- a/tests/shared/com/android/launcher3/testing/shared/TestProtocol.java +++ b/tests/shared/com/android/launcher3/testing/shared/TestProtocol.java @@ -154,6 +154,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";