diff options
author | 2024-12-11 19:25:58 +0000 | |
---|---|---|
committer | 2025-01-09 18:01:07 +0000 | |
commit | 4d7e8238f38fae100ad3dc951570a6c6f5dd4254 (patch) | |
tree | f34b26abc5d761997e30d674a3e7bb3ccd0d030e /libs/androidfw/BigBuffer.cpp | |
parent | 785e50429536b98e07aa057714bb67a3a7cb62fc (diff) |
Make DisplayContent multi-display and multi-user aware for IME
This changelist updates the DisplayContent IME related methods
(getImeHostOrFallback and computeImeControlTarget) to correctly
determine the user's main display for visible background users.
The main display for a visible background user might not be DEFAULT_DISPLAY,
therefore the IME fallback display has to be user's main display instead (which
will be other than DEFAULT_DISPLAY).
This modification is a necessary prerequisite to fix the IME logic for
identifying the appropriate fallback display for IME visualization.
Flag: android.view.inputmethod.fallback_display_for_secondary_user_on_secondary_display
Test: atest CtsWindowManagerDeviceIme CtsInputMethodTestCases
Test: presubmit
Bug: 383228193
Change-Id: I5f85149684b9b1c6db13bed8b6138d67b4eb2ae1
Diffstat (limited to 'libs/androidfw/BigBuffer.cpp')
0 files changed, 0 insertions, 0 deletions