From e11268a5b1b8dcaf21d29a09229059e14a4143d3 Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Wed, 9 Aug 2023 14:25:13 -0700 Subject: [PATCH] Disabling flash checks for the whole LauncherDragView Flag: N/A Bug: 295216628 Test: presubmit Change-Id: Id58f8843d287b5e2e16c47787bd34d1b8a843ca4 --- .../launcher3/util/viewcapture_analysis/FlashDetector.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/src/com/android/launcher3/util/viewcapture_analysis/FlashDetector.java b/tests/src/com/android/launcher3/util/viewcapture_analysis/FlashDetector.java index d9517b0023..4210d06204 100644 --- a/tests/src/com/android/launcher3/util/viewcapture_analysis/FlashDetector.java +++ b/tests/src/com/android/launcher3/util/viewcapture_analysis/FlashDetector.java @@ -41,12 +41,10 @@ final class FlashDetector extends AnomalyDetector { DRAG_LAYER + "SearchContainerView:id/apps_view|AllAppsRecyclerView:id/apps_list_view" + "|BubbleTextView:id/icon", - DRAG_LAYER + "LauncherDragView|ImageView", DRAG_LAYER + "LauncherRecentsView:id/overview_panel|TaskView|TextView", DRAG_LAYER + "LauncherAllAppsContainerView:id/apps_view|AllAppsRecyclerView:id" + "/apps_list_view|BubbleTextView:id/icon", - DRAG_LAYER + "LauncherDragView|View", CONTENT + "AddItemDragLayer:id/add_item_drag_layer|AddItemWidgetsBottomSheet:id" + "/add_item_bottom_sheet|LinearLayout:id/add_item_bottom_sheet_content" @@ -61,7 +59,8 @@ final class FlashDetector extends AnomalyDetector { RECENTS_DRAG_LAYER + "FallbackRecentsView:id/overview_panel|TaskView|IconView:id/icon", DRAG_LAYER + "SearchContainerView:id/apps_view|UniversalSearchInputView:id" - + "/search_container_all_apps|View:id/ripple" + + "/search_container_all_apps|View:id/ripple", + DRAG_LAYER + "LauncherDragView" )); // Per-AnalysisNode data that's specific to this detector.