adolfintel / OpenPods

The Free and Open Source app for monitoring your AirPods on Android
https://fdossena.com/?p=openPods/index.frag
GNU General Public License v3.0
969 stars 164 forks source link

No need to request ACCESS_FINE_LOCATION permissions as of Android 12 #175

Open aeroechelon opened 5 months ago

aeroechelon commented 5 months ago

From: https://developer.android.com/develop/connectivity/bluetooth/bt-permissions

On Android 8.0 (API level 26) and higher, the Companion Device Manager (CDM) provides a more streamlined method of connecting to companion devices, compared to the permissions described in this section. The CDM system provides a pairing UI on behalf of your app and doesn't require location permissions.

https://github.com/adolfintel/OpenPods/blob/6a00d8ce240dc38291e57423f502b1155bf7648e/app/src/main/AndroidManifest.xml#L8