summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-05-01 11:04:32 -0700
committerYorke Lee <yorkelee@google.com>2014-05-01 11:04:32 -0700
commit42f5e40deefe7b64af44d6295486444ece6cad4a (patch)
treebc9804cd4dc326c4cede8062e145bd9bd88e6575 /src
parent5c015d2b8bef04a91463470563ec28eb20892064 (diff)
Fix crash in Dialer when CP2 is disabled
Bug: 14462334 Change-Id: Ieeee511008baab400abc7dc95b87d5adc71c439e
Diffstat (limited to 'src')
-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);
}
}
}