summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Cosmin Băieș <cosminbaies@google.com> 2025-02-07 16:18:35 +0100
committer Cosmin Băieș <cosminbaies@google.com> 2025-02-07 16:18:35 +0100
commit426cf2302443f4a8204356d5f217667989d8f89b (patch)
tree1d6cc7da2aba791072b76458da650c18a02ebde3 /libs/androidfw/AssetsProvider.cpp
parent67e5e61c2a151a1c01f379816a89e31c8374310b (diff)
Switch to gesture nav in InputMethodServiceTest
Previously the tests related to (long) clicking on the IME back button and IME Switcher button were skipped if the device was not already in gesture navigation. It turns out the test is currently configured to only run on targets which are always in three button navigation, so the test is never actually ran. This uses the CTS utility to enable switching to gesture navigation mode if needed. To avoid re-creating the Activity when the mode changes, this marks that the TestActivity handles assetsPaths config changes. To avoid the countDownLatch being triggered by the IME receiving the navigation mode config change, this explicitly waits for it when necessary. Flag: EXEMPT testfix Bug: 394548201 Test: atest InputMethodServiceTest#testBackButtonClick InputMethodServiceTest#testBackButtonLongClick InputMethodServiceTest#testImeSwitchButtonClick InputMethodServiceTest#testImeSwitchButtonLongClick Change-Id: Ib8ab74918490ffa6a5d382c3dc782a3e3039970c
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions