Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9b1b9377 authored by Gary Mai's avatar Gary Mai
Browse files

Fix NPEs in shortcuts

Contacts with no data will have null for their display name which in
this version isn't caught.
Add null checks and use R.string.missing_name when a contact has no
display name.

Test: Manually verified no crashes on a Pixel with O-DR when :
  * adding shortcut from overflow menu in QuickContact for a contact
    with no name
  * selecting a contact with no name when creating a shortcut by
    long pressing the home screen

Bug: 62590004
Change-Id: If0c5d93a472d1d47c6657f72ae9e202c335de75c
parent b121ab7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment