From 9977121e8e3c0a9e6c2519cced43d28daa0bce94 Mon Sep 17 00:00:00 2001 From: Rohit Goyal Date: Tue, 23 Jan 2024 20:00:28 +0530 Subject: [PATCH] Test Fix: Move UnarchiveBroadcastReceiver to AndroidManifest-common to also support NexusLauncher tests. * Currently unarchival tests only pass for Launcher3. We extend the broadcast receiver to AndroidManifest-common to also support NexusLauncher tests. Test: atest TaplPromiseIconUiTest.java Bug: 319240622 Flag: ACONFIG com.android.launcher3.enable_support_for_archiving DEVELOPMENT Change-Id: I9be459a2a0648063d62538eed20c0a6e7644ad44 --- tests/AndroidManifest-common.xml | 8 +++++ tests/AndroidManifest.xml | 8 ----- .../UnarchiveBroadcastReceiver.java | 32 +++++++++++++++++++ .../compat/TaplPromiseIconUiTest.java | 10 ------ 4 files changed, 40 insertions(+), 18 deletions(-) create mode 100644 tests/multivalentTests/src/com/android/launcher3/testcomponent/UnarchiveBroadcastReceiver.java diff --git a/tests/AndroidManifest-common.xml b/tests/AndroidManifest-common.xml index e5e3354a55..7059268954 100644 --- a/tests/AndroidManifest-common.xml +++ b/tests/AndroidManifest-common.xml @@ -88,6 +88,14 @@ android:resource="@xml/appwidget_dynamic_colors"/> + + + + + + diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml index daace8e89f..5cf96c8554 100644 --- a/tests/AndroidManifest.xml +++ b/tests/AndroidManifest.xml @@ -23,14 +23,6 @@ - - - - - -