[Aware] Deprecate OOB data path API
Bug: 143377456
Test: build
Change-Id: I4e1a133333e503889e9256dc9196483999243e43
diff --git a/framework/api/current.txt b/framework/api/current.txt
index b075ccf..b6c7c1f 100644
--- a/framework/api/current.txt
+++ b/framework/api/current.txt
@@ -763,8 +763,8 @@
public class WifiAwareSession implements java.lang.AutoCloseable {
method public void close();
- method public android.net.NetworkSpecifier createNetworkSpecifierOpen(int, @NonNull byte[]);
- method public android.net.NetworkSpecifier createNetworkSpecifierPassphrase(int, @NonNull byte[], @NonNull String);
+ method @Deprecated public android.net.NetworkSpecifier createNetworkSpecifierOpen(int, @NonNull byte[]);
+ method @Deprecated public android.net.NetworkSpecifier createNetworkSpecifierPassphrase(int, @NonNull byte[], @NonNull String);
method public void publish(@NonNull android.net.wifi.aware.PublishConfig, @NonNull android.net.wifi.aware.DiscoverySessionCallback, @Nullable android.os.Handler);
method public void subscribe(@NonNull android.net.wifi.aware.SubscribeConfig, @NonNull android.net.wifi.aware.DiscoverySessionCallback, @Nullable android.os.Handler);
}