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

TrackContentProvider allow custom queries #25

Merged
merged 2 commits into from Aug 19, 2012
Merged

Conversation

jdmonin
Copy link
Contributor

@jdmonin jdmonin commented Aug 18, 2012

Minor changes to help coding custom queries against this provider.

  • getType: Throw if uri not recognized; I found this is easier to debug than a NullPointerException later, if I've made a typo or mistake constructing my uri
  • query: use custom projection if provided; allows control of the set of returned columns

nguillaumin added a commit that referenced this pull request Aug 19, 2012
TrackContentProvider allow custom queries
@nguillaumin nguillaumin merged commit fe697a2 into labexp:master Aug 19, 2012
@nguillaumin
Copy link
Contributor

Thanks that's better indeed !

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.

None yet

2 participants