microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.67k stars 1.73k forks source link

Add check for android.permission.MANAGE_USB to Self-Check #2612

Closed CoelacanthusHex closed 2 weeks ago

CoelacanthusHex commented 2 weeks ago

Is your feature request related to a problem? Please describe.

Users may install the apk directly and then find FIDO via USB is unusable because android.permission.MANAGE_USB is ProtectedPermission and can only be granted for the system app. But when they check Self-Check, they will get all passed, it's confusing.

Describe the solution you'd like

Add a check for android.permission.MANAGE_USB in Self-Check, and provide some description of why.

Additional context

Today some users of Canokey met this issue. See https://t.me/canokeys/154429 (Chinese).