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

Commit 26155644 authored by seokgyun.hong's avatar seokgyun.hong Committed by Antonio Kantek
Browse files

Use main display assigned to visible background user as fallback display for IME

Previously, the default display would be used as the fallback display where the IME should be shown.
However, a visible background user can be assigned to a secondary display, which is not the default display.
For a visible bg user, the main display assigned to the user should be used as the fallback display.

This changelist was cherry picked from https://partner-android-review.git.corp.google.com/c/platform/frameworks/base/+/3014818 .

Bug: 383228193
Flag: android.view.inputmethod.fallback_display_for_secondary_user_on_secondary_display
Test: atest InputMethodManagerServiceTests
Test: atest CtsWindowManagerDeviceIme
Test: atest --user-type secondary_user_on_secondary_display CtsWindowManagerDeviceIme

Change-Id: I643bedaf9de1ed83d226133293fb4a03e4e52a1f
parent 4d7e8238
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