* changes: Refactor applyUnderlyingCapabilities and its test. Move applyUnderlyingCapabilities to ConnectivityService.