From f9fd4b6bb4a275d12548c250176b9be918619c7d Mon Sep 17 00:00:00 2001 From: Yu Ping Hu Date: Fri, 12 Apr 2013 16:19:58 -0700 Subject: [PATCH] Remove spammy log message. We don't have special MIME types for all possible queries. It's only an error if the matcher doesn't know about it at all, which is handled by findMatch, so we just return null here (same as with Gmail). Change-Id: I7061e25b8fd4543c41f62188cb90712353a64779 --- src/com/android/email/provider/EmailProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index f0e78d24f..f940b23aa 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -885,7 +885,7 @@ public class EmailProvider extends ContentProvider { case HOSTAUTH_ID: return "vnd.android.cursor.item/email-hostauth"; default: - throw new IllegalArgumentException("Unknown URI " + uri); + return null; } }