Unable to import files in wireguard app on some Android TV devices

Alex <[email protected]> Wed, 28 Jan 2026 20:58:41 +0100 (CET)
Newsgroups com.zx2c4.lists.wireguard
Message-ID <[email protected]>
Attempting to import a client config file results in the message "Please in=
stall a file management utility to browse files" on my device running Fire =
OS 8 (Android TV 11 based).

This is likely due to commit=C2=A067db72a (TvMainActivity: use OpenDocument=
 instead of GetContent), as it=C2=A0occurs with v1.0.20260102, but not with=
 v1.0.20250515.

According to the documentation [1]: "Third-party apps can't respond to an i=
ntent with the ACTION_OPEN_DOCUMENT action. Instead, the system receives th=
isintent and displays all the files available from various apps in a unifie=
d user interface."

My device does not appear to have a first-party file picker, which would ex=
plain why OpenDocument does not work.

The commit mentions that the change was necessary for Android TV 14 (is it =
actually?), but regardless there should be a fallback to=C2=A0GetContent if=
 OpenDocument fails.

[1]=C2=A0https://developer.android.com/guide/components/intents-common#Open=
File