Merge "Test Entitlement when telephony is present" am: 93773f0aa0
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1735336 Change-Id: Ib5734aca35f2aee00d63b5684f6dd06b1063ef26
This commit is contained in:
commit
f780194b25
1 changed files with 1 additions and 0 deletions
|
|
@ -361,6 +361,7 @@ public class TetheringManagerTest {
|
|||
@Test
|
||||
public void testRequestLatestEntitlementResult() throws Exception {
|
||||
assumeTrue(mTM.isTetheringSupported());
|
||||
assumeTrue(mPm.hasSystemFeature(FEATURE_TELEPHONY));
|
||||
// Verify that requestLatestTetheringEntitlementResult() can get entitlement
|
||||
// result(TETHER_ERROR_ENTITLEMENT_UNKNOWN due to invalid downstream type) via listener.
|
||||
assertEntitlementResult(listener -> mTM.requestLatestTetheringEntitlementResult(
|
||||
|
|
|
|||
Loading…
Reference in a new issue