From b36143551ca3ff770ffb303b4e5c0ef602033b5c Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Tue, 15 Aug 2023 11:19:46 -0700 Subject: [PATCH] Suppressing more view capture anomalies Test: presubmit Flag: N/A Bug: 295904861, 295910059, 294891222, 295909454 Change-Id: I6abc34844d0dbfa53d402d4983a71655b256e091 --- .../util/viewcapture_analysis/AlphaJumpDetector.java | 1 + .../launcher3/util/viewcapture_analysis/FlashDetector.java | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/src/com/android/launcher3/util/viewcapture_analysis/AlphaJumpDetector.java b/tests/src/com/android/launcher3/util/viewcapture_analysis/AlphaJumpDetector.java index 83d9f4aca9..49abad4bee 100644 --- a/tests/src/com/android/launcher3/util/viewcapture_analysis/AlphaJumpDetector.java +++ b/tests/src/com/android/launcher3/util/viewcapture_analysis/AlphaJumpDetector.java @@ -104,6 +104,7 @@ final class AlphaJumpDetector extends AnomalyDetector { DRAG_LAYER + "Snackbar|TextView:id/label", DRAG_LAYER + "SplitInstructionsView|AppCompatTextView:id/split_instructions_text", DRAG_LAYER + "TaskMenuView|LinearLayout:id/menu_option_layout", + DRAG_LAYER + "TaskMenuViewWithArrow|LinearLayout:id/menu_option_layout", DRAG_LAYER + "TaskMenuView|TextView:id/task_name", DRAG_LAYER + "View", DRAG_LAYER + "WidgetsFullSheet|SpringRelativeLayout:id/container", 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 4210d06204..eef1bc8391 100644 --- a/tests/src/com/android/launcher3/util/viewcapture_analysis/FlashDetector.java +++ b/tests/src/com/android/launcher3/util/viewcapture_analysis/FlashDetector.java @@ -57,9 +57,7 @@ final class FlashDetector extends AnomalyDetector { + "|ScrollView:id/widget_preview_scroll_view|WidgetCell:id/widget_cell" + "|WidgetCellPreview:id/widget_preview_container|ImageView:id/widget_badge", 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", + DRAG_LAYER + "SearchContainerView:id/apps_view", DRAG_LAYER + "LauncherDragView" ));