Merge "Ignore testRestrictedNetworkPermission on Q" am: 6b6d2eb75b am: ccb213843c am: d4c5e13ebe
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1826056 Change-Id: Ied6f3c44b899f23eb9544d2d98b14ce0c1fd2dbf
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