summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2021-07-02 10:55:16 +0800
committerAdrian Roos <roosa@google.com>2021-08-02 14:49:37 +0000
commit7d9eb2b6f953773887289b910cd4d7337ad246bf (patch)
treeb464ba00110c543d774ae3ffe1b9e0d99aec4f97 /tools/aapt2/java/JavaClassGenerator.cpp
parent72553d512411b82bc092cb9ac1b006df723e4346 (diff)
Fix flickering when switched to the task without IME shown
When switching tasks from the task has IME shown to another task without showing IME (e.g. youtube apps.), the flickering might happen because the next activity accidentally received the IME insets attached in the previous activity. If the IME is attached to one app window on that time, even the next app window is behind the IME window, conceptually the window should not receive the IME insets if the next window is not eligible IME requester and ready to show IME on top of it. Fix the logic in InsetsPolicy#adjustVisibilityForIme for the above case. Fix: 192337037 Bug: 194746204 Test: atest WindowStateTests#\ testAdjustImeInsetsVisibilityWhenTaskSwitchIsAnimating Merged-In: Ib3a1eacedd3763bcf1e6eed82e7efdf01c50b204 Change-Id: Ib3a1eacedd3763bcf1e6eed82e7efdf01c50b204 (cherry picked from commit f4eb0544601ced85aca5acac1b24f3fe8babfedd)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions