summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Cosmin Băieș <cosminbaies@google.com> 2025-02-10 12:31:50 +0100
committer Cosmin Băieș <cosminbaies@google.com> 2025-02-10 20:08:52 +0100
commitfdaae4f25666ec969f4450de14187bc73aba9f74 (patch)
tree5542b996a8661e75f58c58ae703c62b7811ceb08 /libs/androidfw/AssetsProvider.cpp
parent426cf2302443f4a8204356d5f217667989d8f89b (diff)
Specify event for latch in InputMethodServiceTest
Currently we set and wait on a single countDownLatch for either of onStartInputView, onFinishInputView or onConfigurationChanged. This can introduce some noise if a different event than the expected one is trigerred (e.g. onConfigurationChanged while waiting for onStartInputView). This also introduces some ambiguity as it's not clear which event is the expected one for each test. This introduces an IntDef to specify the expected event, and only triggeres the latch for that specific event. Flag: EXEMPT testfix Bug: 394328311 Test: atest InputMethodServiceTest Change-Id: If435214366422943420a68e14ad712ce4d97fb0d
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions