Address further API council comments.

Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Change-Id: I7c27f76c54a76abeae46dcdcddaeb3ca48afa358
This commit is contained in:
Chalard Jean
2020-03-27 15:02:17 +09:00
parent 0c30d949df
commit dff893b275

View File

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