Update tethered/local only interfaces when no all networks request

If there is no request for all networks, the tethered/local only
interface changes will be ignored. However, these available
interfaces are not used for mDNS when a user requests a socket
with a null network because the interfaces are lost due to the
previous ignore. Therefore, the interface changes should be
retained and will be used for socket creations afterwards.

Bug: 284939720
Test: atest FrameworksNetTests android.net.cts.NsdManagerTest
(cherry picked from https://android-review.googlesource.com/q/commit:bb69412f5b19c72ca5666ceec12f07b5e35df92d)
Merged-In: If830eb53af26f21f497314477b131ce28468a971
Change-Id: If830eb53af26f21f497314477b131ce28468a971
2 files changed