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

Skip to content
Commit 0ff4ed6f authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Do not skip IME in forAllWindows if its target is invisible

This removed the logic added in [1]. Because forAllWindows can be
used to perform any operation. It is unsafe to skip generally.
Such as when performing applyKeyguardPolicy for all windows, it may
miss the chance to hide IME.

Also the original problem in [1] usually won't happen since IME
surface can be attached to app's surface, then the IME can be hidden
with the app naturally.

[1]: I57357ba85501397fa5926ab4dee116c42df24506

Bug: 339375944
Flag: com.android.window.flags.do_not_skip_ime_by_target_visibility
Test: WindowContainerTraversalTests#testTraverseImeRegardlessOfImeTarget
Change-Id: I73b952f384ec1f6104e548dad62a0483c6f5915d
parent ce8e50cf
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