diff options
author | Wenyi Wang <wenyiw@google.com> | 2015-09-18 17:51:33 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-09-18 17:51:33 +0000 |
commit | dd3dc41b589977bca9621484aed15a7f1508e7f6 (patch) | |
tree | 8bbb6794139d983bae67505e5778e54780e555a9 /InCallUI | |
parent | 3cf50edd29f372657192ebdaf9ca197c74fe94ad (diff) | |
parent | 6287536903eb28979f453303f75956e5368f08d5 (diff) |
Merge "Modified getCallerInfo() to handle silent ringtone" into ub-contactsdialer-a-dev
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallerInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/CallerInfo.java b/InCallUI/src/com/android/incallui/CallerInfo.java index 5de03d871..06703b93d 100644 --- a/InCallUI/src/com/android/incallui/CallerInfo.java +++ b/InCallUI/src/com/android/incallui/CallerInfo.java @@ -241,7 +241,7 @@ public class CallerInfo { // in the database. columnIndex = cursor.getColumnIndex(PhoneLookup.CUSTOM_RINGTONE); if ((columnIndex != -1) && (cursor.getString(columnIndex) != null)) { - if (cursor.getString(columnIndex).equals("")) { + if (TextUtils.isEmpty(cursor.getString(columnIndex))) { // make it consistent with frameworks/base/.../CallerInfo.java info.contactRingtoneUri = Uri.EMPTY; } else { |