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

Catch FileNotFoundException on contact import #815

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

audax
Copy link
Member

@audax audax commented Jan 6, 2017

Resolves #791

@audax audax requested a review from JoGir January 6, 2017 15:45
val file = try {
activity.contentResolver.openFileDescriptor(uri, action.accessMode)
} catch (e: FileNotFoundException) {
showImportFailedMessage()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import or export so may just show a default error

@audax audax assigned audax and unassigned JoGir Jan 9, 2017
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.

2 participants