commit | 946cb8a7dff1f7f18bc3fc454a41108951e5f04b | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Jan 11 14:42:20 2021 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Mon Jan 11 14:42:20 2021 -0800 |
tree | 7016bd3e612feb7bbb83a9b498860f8784a71bec | |
parent | bc86955b089edca01c350e45f84604bfa63d63cd [diff] |
Stop mocking IRoleManager. IRoleManager isn't an API and is going to be moved into module, so it won't be available anymore. We could have used mockito-inline to mock the final RoleManager, however this test is instrumenting against com.android.phone which can't be made debuggable. So introduce an adapter class similar to what SipTransportController is already doing. Bug: 158736025 Test: atest RcsProvisioningMonitorTest Change-Id: I1b9c8d86f459a2391680291d07a70bda614a608d