* changes: Split updateCapabilities into two methods. More strictly check NetworkCapabilities callbacks.