Merge "Add a CompatChange flag to enable platform backend"

This commit is contained in:
Paul Hu
2023-03-17 13:14:19 +00:00
committed by Gerrit Code Review
6 changed files with 108 additions and 24 deletions

View File

@@ -73,6 +73,17 @@ public final class ConnectivityCompatChanges {
@EnabledAfter(targetSdkVersion = Build.VERSION_CODES.TIRAMISU)
public static final long ENABLE_SELF_CERTIFIED_CAPABILITIES_DECLARATION = 266524688;
/**
* Apps targeting < Android 14 use a legacy NSD backend.
*
* The legacy apps use a legacy native daemon as NsdManager backend, but other apps use a
* platform-integrated mDNS implementation as backend.
*
* @hide
*/
@ChangeId
@EnabledAfter(targetSdkVersion = Build.VERSION_CODES.TIRAMISU)
public static final long ENABLE_PLATFORM_MDNS_BACKEND = 270306772L;
private ConnectivityCompatChanges() {
}
}