fdb93b7079d522d688ec0ebe58c92d45aee48786 |
|
22-Dec-2015 |
Nancy Chen <nancychen@google.com> |
Make TelecomManager APIs compatible with Lollipop. (1/3) + Add methods to TelecomManagerCompat - Move TelecomManagerCompat to ContactsCommon because it is called within ContactsCommon - Move TestTelecomCallLogCache to the right package so tests pass Bug: 25776171 Change-Id: I1963959292d8038ab505488d831afd06e6fef6d0
/packages/apps/Dialer/src/com/android/dialer/compat/DialerCompatUtils.java
|
ee5b3dcb3f505395ed95eeca0085783030135a2d |
|
09-Dec-2015 |
Nancy Chen <nancychen@google.com> |
Guard against methods that use the PhoneAccount object pre-MSIM. Use alternative means or just return empty lists when calling methods that require MSIM in pre-LMr1 devices. Also move compatability checks to ContactsCommon for methods that may be called in ContactsCommon as well as Dialer Bug: 25776171 Change-Id: I074bb147dbd53d623f322482ad735391c84ae5ad
/packages/apps/Dialer/src/com/android/dialer/compat/DialerCompatUtils.java
|
385cda4523c396e49f1ef3acc04107147bcecde6 |
|
01-Dec-2015 |
Brandon Maxwell <maxwelb@google.com> |
Compatibility code for Calls.CACHED_PHOTO_URI Only if the current sdk version is at least M, do we look up the CACHED_PHOTO_URI Bug: 25776171 Change-Id: I79ac81abb4da719ffdb5476476a9a28c287c95f6
/packages/apps/Dialer/src/com/android/dialer/compat/DialerCompatUtils.java
|
15d1f41fb48ef119ec02b3d50bede25281ae8f50 |
|
25-Nov-2015 |
Nancy Chen <nancychen@google.com> |
Guard against crashes in <M devices for getDefaultDialerPackage call. Since TelecomManager was hidden in L, calls to getDefaultDialerPackage will crash. Furthermore, default dialer was not even a concept in Android <M so return false for the isDefaultDialer check. Bug: 25776171 Change-Id: I05c9f55b69bdbe1e07cf44886dbff29d99f36bbb
/packages/apps/Dialer/src/com/android/dialer/compat/DialerCompatUtils.java
|
4ae2cd3ab6d9fe869e135e03b5dc969b6bee1908 |
|
20-Nov-2015 |
Nancy Chen <nancychen@google.com> |
Add a dialer compat utils class for all things dialer compatibilty. For DialerCompatUtils first trick, add a function to check whether video calling is compatible with the current version. Bug: 25776171 Change-Id: I0d6c8181ec53f00785032ba52b484fb1c8e6ea47
/packages/apps/Dialer/src/com/android/dialer/compat/DialerCompatUtils.java
|