Merge "Ignore testRestrictedNetworkPermission on Q"
This commit is contained in:
@@ -1797,6 +1797,7 @@ public class ConnectivityManagerTest {
|
|||||||
*/
|
*/
|
||||||
@AppModeFull(reason = "Cannot get WifiManager in instant app mode")
|
@AppModeFull(reason = "Cannot get WifiManager in instant app mode")
|
||||||
@Test
|
@Test
|
||||||
|
@IgnoreUpTo(Build.VERSION_CODES.Q)
|
||||||
public void testRestrictedNetworkPermission() throws Exception {
|
public void testRestrictedNetworkPermission() throws Exception {
|
||||||
// Ensure that CONNECTIVITY_USE_RESTRICTED_NETWORKS isn't granted to this package.
|
// Ensure that CONNECTIVITY_USE_RESTRICTED_NETWORKS isn't granted to this package.
|
||||||
final PackageInfo app = mPackageManager.getPackageInfo(mContext.getPackageName(),
|
final PackageInfo app = mPackageManager.getPackageInfo(mContext.getPackageName(),
|
||||||
|
|||||||
Reference in New Issue
Block a user