Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46ca92cc authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Do not copy local insets to IME during insets traversal

WindowState traversal will be including the IME window because of the
idea that the IME was attached to a window, and something applied to a
window state should also applied to the insets.

However, this is no longer true, also the IME doesn't rely on the target
window to calculate the insets correctly. Skip copy of local insets
sources to IME window to avoid accidental inheritance of insets from the
IME target window.

Bug: 421000153
Bug: 441434842
Test: InsetsPolicyTests
Test: Check the bug report and verify with bubble test apps
Flag: com.android.window.flags.relative_insets
Change-Id: I2a7f02573c9c313fa970594814e591666f89029e
parent 2a22330b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment