Inspectopedia Help

Using android.hardware.wifi on TV

Using android.hardware.wifi on TV

WiFi is not required for Android TV and many devices connect to the internet via alternative methods e.g. Ethernet.

If your app is not focused specifically on WiFi functionality and only wishes to connect to the internet, please modify your Manifest to contain: <uses-feature android:name="android.hardware.wifi" android:required="false" />

Un-metered or non-roaming connections can be detected in software using NetworkCapabilities#NET_CAPABILITY_NOT_METERED and NetworkCapabilities#NET_CAPABILITY_NOT_ROAMING.

Issue id: LeanbackUsesWifi

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3


Android, 2022.3.1 Beta 2

Last modified: 13 July 2023