From 6b345e301ac290a295f756c607f3dbb6793d65ff Mon Sep 17 00:00:00 2001 From: Simon Wingrove Date: Fri, 21 Feb 2025 02:39:37 -0800 Subject: Attempt to dismiss keyguard before each SafetyCenter test This is a belt-and-braces approach together with aosp/3504430 that should go some way to mitigating the problem in b/379620557 which might not be entirely solvable (at least for tests running mainline on top of older system images) LOW_COVERAGE_REASON=TEST_ONLY Bug: 379620557 Change-Id: I3de11df34e82ef31a5e1b7602ad946ecb94d0648 Test: atest Relnote: N/A change to reduce test flakiness Flag: EXEMPT test flakiness fix --- tests/cts/safetycenter/AndroidTest.xml | 4 ++++ tests/functional/safetycenter/multiusers/AndroidTest.xml | 4 ++++ tests/functional/safetycenter/safetycenteractivity/AndroidTest.xml | 4 ++++ tests/functional/safetycenter/singleuser/AndroidTest.xml | 4 ++-- tests/functional/safetycenter/subpages/AndroidTest.xml | 4 ++++ tests/hostside/safetycenter/AndroidTest.xml | 4 ++++ 6 files changed, 22 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/cts/safetycenter/AndroidTest.xml b/tests/cts/safetycenter/AndroidTest.xml index 6d8c3069c..ed161f0b6 100644 --- a/tests/cts/safetycenter/AndroidTest.xml +++ b/tests/cts/safetycenter/AndroidTest.xml @@ -47,6 +47,10 @@