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

Skip to content
Commit f4f4c683 authored by Antonio Kantek's avatar Antonio Kantek
Browse files

Set ActivityManager to set the test callerId as the currentUserId

System headless surfaces, like auto, don't have user 0 as the current
user. In auto, test caller will be the driver, a secondary user. Setting
mock ActivityManagerInternal to set the callingUserId as the
currentUserId fix this test for auto and other headless surfaces.

Fix: 325464049
Test: atest FrameworksInputMethodSystemServerTests:com.android.server.inputmethod.InputMethodManagerServiceWindowGainedFocusTest#startInputOrWindowGainedFocus_forwardNavigation
Change-Id: I954caeb2f2bd1b9af9c7e774cd0e5ecf32f55e72
parent 1836f6d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment