commit | 7b5bcdfdf91bafcc8752be4abed191d3910376a5 | [log] [tgz] |
---|---|---|
author | Wilson Wu <wilsonwu@google.com> | Thu Apr 28 16:08:32 2022 +0800 |
committer | Wilson Wu <wilsonwu@google.com> | Thu Apr 28 16:08:32 2022 +0800 |
tree | d444a02b18f066ff79ec9e00a93cb664d8188d70 | |
parent | b134c8f2f244f2eb8d32753402da37345ef5f64e [diff] |
Fix testShowInputMethodPicker failure UiDevice.getInstance(Instrumentation) return a singleton value if it's already existing. The cached value somehow fail to detect the MOCK_IME_LABEL. Add a workaround to clear the internal singleton value which make UiDevice create a new instance and a TODO bug to track we should remove this workaround in the future. Bug: 230095307 Bug: 230698095 Test: atest CtsInputMethodTestCases Change-Id: I160309647fd0e63ae270ed6298e1e7523aa0aaf6