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

Skip to content
Commit 3f705e27 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed display id on Instrumentation.sendKeySync().

By default, the displayId in the KeyEvents is always 0, which would
cause CTS tests to fail when they are running on background
users visible in different displays.

Bug: 266851112
Fixes: 268103680

Test: adb shell am start-user --display 2 13 && adb shell am instrument --user 13 -e class "android.app.cts.LauncherActivityTest" -w "android.app.cts/androidx.test.runner.AndroidJUnitRunner"

Change-Id: Ie9a68319f47c45f0a6b035ddcda13e8c5627f34f
parent 5bc4f546
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