summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-11-21 06:28:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-11-21 06:28:10 +0000
commit5a7a0da65724ec40a17ce703056210605ffa5da4 (patch)
tree858ec446c349773c14e524dd80762ce4feae548a /tests
parentefa1e869b9e52ee7e372dc7ae4fbbc67870295c5 (diff)
parente62da11410f7e3428d647909df06a0f638e57bb6 (diff)
Merge "wifi(p2p): Rename Context.sendBroadcastMultiplePermissions"
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/p2p/WifiP2pServiceImplTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/p2p/WifiP2pServiceImplTest.java b/tests/wifitests/src/com/android/server/wifi/p2p/WifiP2pServiceImplTest.java
index f37ce6786..9bd99953d 100644
--- a/tests/wifitests/src/com/android/server/wifi/p2p/WifiP2pServiceImplTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/p2p/WifiP2pServiceImplTest.java
@@ -645,7 +645,7 @@ public class WifiP2pServiceImplTest extends WifiBaseTest {
String[] permission_gold = new String[] {android.Manifest.permission.ACCESS_FINE_LOCATION,
android.Manifest.permission.ACCESS_WIFI_STATE};
ArgumentCaptor<String []> permissionCaptor = ArgumentCaptor.forClass(String[].class);
- verify(mContext, atLeastOnce()).sendBroadcastMultiplePermissions(
+ verify(mContext, atLeastOnce()).sendBroadcastWithMultiplePermissions(
intentCaptor.capture(), permissionCaptor.capture());
String [] permission = permissionCaptor.getValue();
Arrays.sort(permission);