Merge "Changing the targetSdkVersion for RESTRICT_LOCAL_NETWORK" into main

This commit is contained in:
Sarup Dalwani 2025-03-20 23:13:12 -07:00 • committed by Gerrit Code Review
commit d43a4fdbfd

View file

@ -139,13 +139,13 @@ public final class ConnectivityCompatChanges {
/**
* Restrict local network access.
*
* Apps targeting a release after V will require permissions to access the local network.
*
* ToDo: Update the target SDK version once it's finalized.
* @hide
*/
@ChangeId
@EnabledAfter(targetSdkVersion = Build.VERSION_CODES.CUR_DEVELOPMENT)
@EnabledAfter(targetSdkVersion = 36)
public static final long RESTRICT_LOCAL_NETWORK = 365139289L;
private ConnectivityCompatChanges() {