Merge "NetworkStatAccess Should checkCarrierPrivileges cross all subscriptions"
This commit is contained in:
commit
43b5e55334
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ public class NetworkStatsAccessTest {
|
|||
}
|
||||
|
||||
private void setHasCarrierPrivileges(boolean hasPrivileges) {
|
||||
when(mTm.checkCarrierPrivilegesForPackage(TEST_PKG)).thenReturn(
|
||||
when(mTm.checkCarrierPrivilegesForPackageAnyPhone(TEST_PKG)).thenReturn(
|
||||
hasPrivileges ? TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS
|
||||
: TelephonyManager.CARRIER_PRIVILEGE_STATUS_NO_ACCESS);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue