From 42f5e40deefe7b64af44d6295486444ece6cad4a Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 1 May 2014 11:04:32 -0700 Subject: Fix crash in Dialer when CP2 is disabled Bug: 14462334 Change-Id: Ieeee511008baab400abc7dc95b87d5adc71c439e --- src/com/android/dialer/calllog/CallLogQueryHandler.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); } } } -- cgit v1.2.3