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
Loading
Please register or sign in to comment