summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-04-05 17:48:28 +0900
committerLorenzo Colitti <lorenzo@google.com>2016-04-05 20:28:57 +0900
commita3d5948c3764c071211d2943d5407ce0459483a0 (patch)
treeca3636755353803831d75395e0bbbd80fd7725ae /tools/aapt2/java/JavaClassGenerator.cpp
parentf7d28faa04abe3e163fc4b62437f900969caf309 (diff)
Clear LinkProperties on interface removed.
When an interface is removed, all netlink events for that interface are lost, because netd will no longer be able to resolve the ifindex in the netlink event to an interface name, and it only communicates to the framework events that include an interface name. This can cause us to end up with stale IP addresses if, for example, wlan0 is removed because we switch wifi back from AP mode to STA mode when exiting tethering. The presence of stale IPv4 addresses can in turn lead us to miss a provisioning notification because we already think we have an IPv4 address. Change-Id: Ib64559a5a4fa261f483760b69fa7996314e7cc17
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions