Skip to content
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

Don't crash when system is unable to handle download intent #3108

Merged
merged 1 commit into from Nov 29, 2022

Conversation

jpelgrom
Copy link
Member

Summary

When trying to forward a download intent to the system catch the exception that is thrown if the system can't handle it to prevent a crash.

This should close #3098 as explained in my comment on the issue.

Screenshots

The app will show a toast to indicate the download is not supported when an exception is caught, for example when trying to use a blob URL:

blob.mp4

Link to pull request in Documentation repository

n/a

Any other notes

 - When trying to forward a download intent to the system catch the exception that is thrown if the system can't handle it to prevent a crash
@JBassett JBassett merged commit 71bf6a7 into home-assistant:master Nov 29, 2022
@jpelgrom jpelgrom deleted the blob-uri-downloads branch November 29, 2022 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App crash in Studio Code Server when downloading
3 participants