Merge "Allow 2 apps with NETWORK_CARRIER_PROVISION permission for wifi" am: dc714602ca
am: d71b50bd7d
Change-Id: I67fb9a1f02ad24a9cc9b553418d42ba29e1dc28a
This commit is contained in:
@@ -921,9 +921,9 @@ public class WifiManagerTest extends AndroidTestCase {
|
|||||||
.distinct()
|
.distinct()
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
if (uniquePackageNames.size() > 1) {
|
if (uniquePackageNames.size() > 2) {
|
||||||
fail("The NETWORK_CARRIER_PROVISIONING permission must not be held by more than one "
|
fail("The NETWORK_CARRIER_PROVISIONING permission must not be held by more than two "
|
||||||
+ "application, but is held by " + uniquePackageNames.size() + " applications: "
|
+ "applications, but is held by " + uniquePackageNames.size() + " applications: "
|
||||||
+ String.join(", ", uniquePackageNames));
|
+ String.join(", ", uniquePackageNames));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user