summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Cosmin Băieș <cosminbaies@google.com> 2025-02-10 12:56:14 +0100
committer Cosmin Băieș <cosminbaies@google.com> 2025-02-10 20:09:02 +0100
commitad7eeefc652c6b8a3734cc2626c5405c7e49f9d1 (patch)
treea63d2ca9cd32ceafedcd4673d153642ce0237308 /libs/androidfw/AssetsProvider.cpp
parentfdaae4f25666ec969f4450de14187bc73aba9f74 (diff)
Simplify nav mode change in InputMethodServiceTest
Currently we expect an onConfigurationChanged call on the IME if we have to change from three button to gesture navigation mode, as this would trigger the countDownLatch too early. With the fix from [1], we can now target the events for the countDownLatch, so this should no longer be a concern. This does mean that the configurationChange could be received while handling the show request, which would cancel the ongoing request, but the system will normally trigger a new one to continue. Submitted separately to determine if this would introduce any race conditions in this scenario. [1]: If435214366422943420a68e14ad712ce4d97fb0d Flag: EXEMPT testfix Bug: 394328311 Test: atest InputMethodServiceTest#testBackButtonClick InputMethodServiceTest#testBackButtonLongClick InputMethodServiceTest#testImeSwitchButtonClick InputMethodServiceTest#testImeSwitchButtonLongClick Change-Id: If7b5cd23b93d1331fc16eb1458c97b76fb3ed6e7
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions