fixing reconsent notification trigger test
this is a change add kill process to resolve the flaky in reconsent notification trigger test
Test: atest
com.android.adservices.tests.ui.gaux.ReconsentNotificationTriggerTest#testEuAdIdEnabledGaUxEnabledReconsent
Change-Id: If8d75fb834e0699465423d167316cf4f9c26eb87
diff --git a/adservices/tests/cts/ui/gaux/legacy/src/com.android.adservices.tests.ui.gaux/ReconsentNotificationTriggerTest.java b/adservices/tests/cts/ui/gaux/legacy/src/com.android.adservices.tests.ui.gaux/ReconsentNotificationTriggerTest.java
index 57784e8..7e5e6ed 100644
--- a/adservices/tests/cts/ui/gaux/legacy/src/com.android.adservices.tests.ui.gaux/ReconsentNotificationTriggerTest.java
+++ b/adservices/tests/cts/ui/gaux/legacy/src/com.android.adservices.tests.ui.gaux/ReconsentNotificationTriggerTest.java
@@ -171,6 +171,7 @@
UiUtils.setAsEuDevice();
UiUtils.enableBeta();
+ AdservicesTestHelper.killAdservicesProcess(sContext);
mCommonManager.setAdServicesEnabled(ENTRY_POINT_ENABLED, AD_ID_ENABLED);
AdservicesWorkflows.testClickNotificationFlow(
sContext,
@@ -182,9 +183,8 @@
/* consent opt-in */ true);
mDevice.pressHome();
- UiUtils.restartAdservices();
UiUtils.enableGa();
-
+ AdservicesTestHelper.killAdservicesProcess(sContext);
ListenableFuture<Boolean> adServicesStatusResponse = getAdservicesStatus();
adServicesStatusResponse.get();