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