Skip to content

Conversation

@coderReview
Copy link

1- Fix crash when modified date is null (NullPointerException)
2- Added mime-type to Metadata (in Android when Content filesystem is used is the only way to know which file type is being handled.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this return 0? Perhaps the null result can be converted to JSONObject.NULL in lastModifiedDateForCursor() to avoid special return values.

Copy link
Member

@janpio janpio left a comment

Choose a reason for hiding this comment

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

How can one trigger this crash with the lastmodified?
Also, we should probably split the feature into its own PR. It looks good, so this is definitely worth it.

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.

3 participants