summaryrefslogtreecommitdiffstats
path: root/docs/html/training/sync-adapters/creating-stub-provider.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/training/sync-adapters/creating-stub-provider.jd')
-rw-r--r--docs/html/training/sync-adapters/creating-stub-provider.jd6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/training/sync-adapters/creating-stub-provider.jd b/docs/html/training/sync-adapters/creating-stub-provider.jd
index b8190d1..e9e18ef 100644
--- a/docs/html/training/sync-adapters/creating-stub-provider.jd
+++ b/docs/html/training/sync-adapters/creating-stub-provider.jd
@@ -85,11 +85,11 @@ public class StubProvider extends ContentProvider {
return true;
}
/*
- * Return an empty String for MIME type
+ * Return no type for MIME type
*/
@Override
- public String getType() {
- return new String();
+ public String getType(Uri uri) {
+ return null;
}
/*
* query() always returns no results