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