-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android, utils): fix rare crash getting documents directory (#5118)
* Fix: value for key KEY_DOCUMENT_DIRECTORY not exists if Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT and externalDirectory != null * fix(android, utils): fix rare crash getting documents directory this ensures the documents directory always exists, at the expense of having it be a different value under rare circumstances (better than crashing at least...) Docs updated to reflect the rare cases it can return unexpected values Co-authored-by: Mike Hardy <github@mikehardy.net>
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f0a2957
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: