diff options
author | David Su <dysu@google.com> | 2019-05-22 21:50:10 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-22 21:50:10 -0700 |
commit | 49351c72211eed7c691230baec19d9ecb26b1f11 (patch) | |
tree | 416816926cc24772a9d26bcc9e010bf75a8602d9 | |
parent | 101541ac8aafe89b669bf3ee4ac685c69c959eee (diff) | |
parent | ab6b4546f9ba6eff785dd539890a0d4bdfcab4b1 (diff) |
Remove unit test usage of checkCarrierPrivilegesForPackage
am: ab6b4546f9
Change-Id: I7d7b3979f1eb43b93ee0ba574d67b9ac8731f9dc
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java b/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java index 45d6af44d..0377001e6 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java @@ -1193,7 +1193,7 @@ public class WifiServiceImplTest { .thenReturn(TEST_WIFI_CONFIGURATION_LIST); // no permission = target SDK=Q && not a carrier app - when(mTelephonyManager.checkCarrierPrivilegesForPackage(anyString())).thenReturn( + when(mTelephonyManager.checkCarrierPrivilegesForPackageAnyPhone(anyString())).thenReturn( TelephonyManager.CARRIER_PRIVILEGE_STATUS_NO_ACCESS); ParceledListSlice<WifiConfiguration> configs = |