summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Tiger Huang <tigerhuang@google.com> 2022-07-01 19:41:24 +0800
committer Tiger Huang <tigerhuang@google.com> 2022-07-04 17:27:59 +0800
commitf9705dd8b1cd051132a0175941405cd5a9ae94ae (patch)
tree8388602adc50bba41456aafa488143e3188833d1 /libs/androidfw/AssetsProvider.cpp
parent03fe0878d558f7052e8446ca9e1863947206e917 (diff)
Refine excludeInvisibleImeFrames
When adding a window to WMS, its z-order may be higher than IME initially. And then, WMS will move IME to the top of the new window. Although IME is invisible during launching an app, that causes a change in WindowState#mAboveInsetsState. And it would trigger a redundant onApplyWindowInsets at the client side. This CL treats null IME source as invisible IME source in InsetsState#equals when excludeInvisibleImeFrames is true. Bug: 237749017 Test: Add logs in dispatchApplyWindowInsets, and see if it gets printed twice while launching an app. Change-Id: I5eba7732619f7ceebe3152e81037a43e9ab3d91f
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions