Skip to content

NotificationUri should be the one provided by the query #9

@JulienDev

Description

@JulienDev

Hi,

When we do a request, the notificationUri is not the given Uri but the authority Uri. It causes a cursor to be notified each time there is a change somewhere in the database. The notificationUri should be the queried Uri.

Current source generated :

Uri notificationUri = LeGorafiContent.CONTENT_URI;
[...]
if ((c != null) && !isTemporary()) {
c.setNotificationUri(getContext().getContentResolver(), notificationUri);
}

Julien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions