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

Skip to content
Commit 597956c3 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed initial mDisplayId on KeyEvent.

Some constructors were explicitly setting it to INVALID_DISPLAY,
while others wouldn't (and in those cases mDisplayId would be 0,
which is DEFAULT_DISPLAY), which made it harder to change the
display id for tests running on background users visible on
secondary displays.

Test: atest KeyEventTest CtsAppTestCases:android.app.cts.LauncherActivityTest
Bug: 266851112
Fixes: 268103680

Change-Id: I9ee61784109620f7b505d8b8db479b37b9a42e20
parent dc6ec7e8
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