Address further API council comments.

Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Copy from ag/10857997
Change-Id: I7c27f76c54a76abeae46dcdcddaeb3ca48afa358
Merged-In: I7c27f76c54a76abeae46dcdcddaeb3ca48afa358
This commit is contained in:
Chalard Jean
2020-03-27 15:02:17 +09:00
committed by Aaron Huang
parent 86aac0daec
commit 4b9a7dd13d

View File

@@ -481,7 +481,7 @@ public class EthernetNetworkFactory extends NetworkFactory {
};
mNetworkAgent.register();
mNetworkAgent.setLegacyExtraInfo(mHwAddress);
mNetworkAgent.setConnected();
mNetworkAgent.markConnected();
}
void onIpLayerStopped(LinkProperties linkProperties) {