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

Commit 3daf4890 authored by Eric Lin's avatar Eric Lin
Browse files

Fix WindowManagerServiceTests fail on Android Car.

The currentUserId is not 0 on Android Car environment. Get the current
user ID from the ActivityManager instead of assuming the default value.

Bug: 356738240
Change-Id: I5a114ec58d4e163f7058bb52be28b5b64ab7e68b
Test: source build/envsetup.sh; lunch cf_x86_64_auto-trunk_staging-userdebug; atest WmTests:WindowManagerServiceTests
Flag: com.android.window.flags.condense_configuration_change_for_simple_mode
parent 16d2494a
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