diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/p2p/WifiP2pServiceImplTest.java | 2 |
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); |