Changing the targetSdkVersion for RESTRICT_LOCAL_NETWORK
The targetSdkVersion was set to enable after current_development version so the test cases targetting current do not have change enabled. It was observed that user builds did not allowed changing compat flag on current values. Changing this to enabled after baklava. Bug: 405183129 Test: atest ConnectivityCoverageTests Change-Id: Ifeb7cde9f1a7d2b5a254f297207d625bf9d02731
This commit is contained in:
parent
038fd312fe
commit
5f020a5ab8
1 changed files with 48 additions and 16 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue