diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2022-03-15 12:03:01 +0000 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2022-03-15 12:05:52 +0000 |
| commit | 25264ecfdacee1ef141c7456df348290e21036ac (patch) | |
| tree | 8b031526cecfaed352caa53d00b437df7fdffa84 /tests/common/java/android/net/LinkPropertiesTest.java | |
| parent | 3f5703df8004cb18ef1677a4a827054be1fc1dd3 (diff) | |
Use TelephonyManagerShim factory method
Constructors should not be used with shims as they do not return the
right instance when running on an older device build.
Use the added factory method for TelephonyManagerShim, which will return
a shim instance that depends on the device SDK.
Bug: 194332512
Test: atest CarrierPrivilegeAuthenticatorTest
Change-Id: I3e0857b4ced007dc4c0367623105dba1a6140800
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions
