commit | 1ae0cf68723dfaf05f387f2759b4f59e6271ba6c | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Mon Nov 18 14:42:47 2013 -0800 |
committer | Yorke Lee <yorkelee@google.com> | Mon Nov 18 14:42:47 2013 -0800 |
tree | 701114b5c0756dc29829857bdb8d6e8048c01ac0 | |
parent | b372f3e5a2b39ecf3949b422b43dbb5ea2a564bf [diff] |
Fix possible NPE in DialerDatabaseHelper In certain cases (third party contact backup solutions?) it is possible for raw contacts to end up with null display names, which the Dialer was crashing on. This fix performs a null check and inserts the default (No name) contact name if we find that the display name is null. Bug: 11750613 Change-Id: Ifbaf2861534e6eaf8a86d50d584d11a9fa38b65f