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

Skip to content
Commit de766406 authored by Rambo Wang's avatar Rambo Wang
Browse files

Fix TelephonyRegistryTest failures in HSUM mode

This CL fixes the failure cases by explictly specifying
the current user id in setUp method to match the real user id
when running in both system user or secondary users.

TelephonyTest which is the parent class of TelephonyRegistryTest mocks
IActivityManager which will return user id with default value 0 if we
don't specify it. When running the test case in secondary users, it will
mismatch actually user id and cause test cases fail.

Bug: 352120148
Test: atest FrameworkTelephonyTests for both system user and secondary
users
Flag: EXEMPT tiny test only fix

Change-Id: I333006952229f631543d07fb155ee00079226c71
parent a111d5ed
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