diff options
Diffstat (limited to 'src/com/android/dialer/calllog/calllogcache')
-rw-r--r-- | src/com/android/dialer/calllog/calllogcache/CallLogCache.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/calllogcache/CallLogCache.java b/src/com/android/dialer/calllog/calllogcache/CallLogCache.java index e64c0121d..dc1217cf5 100644 --- a/src/com/android/dialer/calllog/calllogcache/CallLogCache.java +++ b/src/com/android/dialer/calllog/calllogcache/CallLogCache.java @@ -49,7 +49,7 @@ public abstract class CallLogCache { * Return the most compatible version of the TelecomCallLogCache. */ public static CallLogCache getCallLogCache(Context context) { - if (CompatUtils.isMSIMCompatible()) { + if (CompatUtils.isClassAvailable("android.telecom.PhoneAccountHandle")) { return new CallLogCacheLollipopMr1(context); } return new CallLogCacheLollipop(context); |