Expose netId to SystemApi

Tethering will be build as unblundled APP. It can't use @hide
API anymore. Expose netId for tethering because it need to set
proxy dns server with netId.

Bug: 144758139
Test: build
Change-Id: Ifefa791940874617bb479f5c23488d14be87f45e
This commit is contained in:
markchien
2019-12-04 14:01:46 +08:00
parent 783ba3e0bd
commit d2751e09d2

View File

@@ -63,7 +63,7 @@ public class Network implements Parcelable {
/**
* @hide
*/
@UnsupportedAppUsage
@SystemApi
public final int netId;
// Objects used to perform per-network operations such as getSocketFactory