Merge "Ignore testRestrictedNetworkPermission on Q" am: 6b6d2eb75b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1826056 Change-Id: Ib8043933f8f3dcd029f0acb601035d96204e2ddd
This commit is contained in:
@@ -1797,6 +1797,7 @@ public class ConnectivityManagerTest {
|
||||
*/
|
||||
@AppModeFull(reason = "Cannot get WifiManager in instant app mode")
|
||||
@Test
|
||||
@IgnoreUpTo(Build.VERSION_CODES.Q)
|
||||
public void testRestrictedNetworkPermission() throws Exception {
|
||||
// Ensure that CONNECTIVITY_USE_RESTRICTED_NETWORKS isn't granted to this package.
|
||||
final PackageInfo app = mPackageManager.getPackageInfo(mContext.getPackageName(),
|
||||
|
||||
Reference in New Issue
Block a user