Skip to content

android: skip SAF directory picker if unsupported #676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

barnstar
Copy link
Member

@barnstar barnstar commented Jul 9, 2025

updates tailscale/corp#30254

This adds an upfront isAndroidTV check before we setup the SAF directory picker activity. We'll check both that the activity can be launched and that this isn't and AndroidTV device otherwise, we'll leave the activity launcher unset.

@kari-ts This may be redundant with the other SAF fixes in the pipe (or it may need to be worked into those). Close it if so.

updates tailscale/corp#30254

This adds an upfront isAndroidTV check before we set the
SAF directory picker activity.  We'll check both that we can
actually launch the activity and that this isn't and AndroidTV
device where the directory picker activity isn't supported or
has a tendency to throw ActivityNotFound exceptions.

Signed-off-by: Jonathan Nobels <[email protected]>
@barnstar barnstar force-pushed the jonathan/tv-dirsel branch from cd7b702 to aa8f16b Compare July 9, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant