Why does WiFiP2P need internet permission?

By directly quoting the android site:

Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices with appropriate equipment to connect directly to each other via Wi-Fi without an intermediate access point

But according to the android website, in order to use the WiFiP2P class, you must have the following permission on the application manifest file.

<uses-permission android:name="android.permission.INTERNET" />

My question is: if WiFiP2P connects directly to 2 Android devices, why do I need internet permission?

+4
source share
1 answer

, docs, android.permission.INTERNET...

.

, , (, Android), .

+6

All Articles