summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-05-01 18:19:21 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-01 18:19:21 +0000
commite2390461aa1612028f59760af57230cff8ab261b (patch)
treeed91eec21dac417bb4b686fde5950cab9877f0db
parentc6221550c49d3503ee7dc2449f0ca485e4ef956a (diff)
parent42f5e40deefe7b64af44d6295486444ece6cad4a (diff)
Merge "Fix crash in Dialer when CP2 is disabled"
-rw-r--r--src/com/android/dialer/calllog/CallLogQueryHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/calllog/CallLogQueryHandler.java b/src/com/android/dialer/calllog/CallLogQueryHandler.java
index 39926767a..64eddec02 100644
--- a/src/com/android/dialer/calllog/CallLogQueryHandler.java
+++ b/src/com/android/dialer/calllog/CallLogQueryHandler.java
@@ -112,6 +112,8 @@ public class CallLogQueryHandler extends NoNullCursorAsyncQueryHandler {
Log.w(TAG, "Exception on background worker thread", e);
} catch (SQLiteDatabaseCorruptException e) {
Log.w(TAG, "Exception on background worker thread", e);
+ } catch (IllegalArgumentException e) {
+ Log.w(TAG, "ContactsProvider not present on device", e);
}
}
}