From 42768e94d4f030d64006e9ce2414fc1c24bff0b4 Mon Sep 17 00:00:00 2001 From: Nicolo' Mazzucato Date: Fri, 1 Apr 2022 18:05:48 +0000 Subject: [PATCH] Make unfold timeout configurable in resources This allows to have a different timeout for the emulator, and to write better e2e integration tests for the unfold transition. For now, the timeout is pretty low and the emulator is not able do dump all the views in time. Test: atest DeviceFoldStateProviderTest Bug: 220087235 Change-Id: Icd45a312c878f0a9d9f33f35cbaf4bac37cc5dd1 --- core/res/res/values/config.xml | 4 ++++ core/res/res/values/symbols.xml | 1 + .../unfold/updates/DeviceFoldStateProvider.kt | 17 ++++++++++------- .../updates/DeviceFoldStateProviderTest.kt | 7 +++++++ 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index e6d4bab78b2f8..0cabca125f01d 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -674,6 +674,10 @@ false + + 600 +