summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Antonio Kantek <kanant@google.com> 2024-03-20 22:42:57 +0000
committer Antonio Kantek <kanant@google.com> 2024-03-20 23:08:43 +0000
commitf4f4c6833685dd5fa8a5d7ae1944321e6d7bf227 (patch)
tree6d15b13321a5864ac50cefd847a1508a740fd428 /libs/androidfw/AttributeResolution.cpp
parent1836f6d45cc995ea79c6b40827cd1bcbc9a8e5d2 (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions