summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorArthur Hung <arthurhung@google.com>2020-02-03 19:22:16 +0800
committerArthur Hung <arthurhung@google.com>2020-02-10 19:33:42 +0800
commitde7672538dde8d9e8c225c54911cad97b56824a9 (patch)
treeb1bead99a07ec21bd1c11100a370bd52685d5ac3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent45b0fc870d574ccffe21d94d1746544c4d14dd55 (diff)
Fix CTS flakes caused by creating duplicated inputconsumer
The nav InputConsumer would be used while nav bar is hidden and would pending to be dismissed when nav bar isn't visible. That ensure the application doesn't see the event when nav bar is coming back. Some CTS flakes from window manager crashing that caused by creating duplicated inputconsumer exception. The reason is the previous one hadn't been disposed yet. - Seperate dismiss and dispose that could make sure that the previous nav consumer is removed from InputMonitor when creating the new one, and its input receiver will be disposed on the attached thread. Test: atest com.android.server.wm Test: atest CtsUiRenderingTestCases Bug: 148395441 Change-Id: I03c2f3aaece4f3f000651b18709e0732d5965604
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions