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

Commit 085c288f authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6819 into donut

* changes:
  Use correct photo when building direct-dial shortcuts.
parents d7b2f666 b462fe3d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1163,7 +1163,9 @@ public final class ContactsListActivity extends ListActivity
                Uri phoneUri = Uri.fromParts(scheme, number, null);
                shortcutIntent = new Intent(mShortcutAction, phoneUri);
                
                Uri personUri = ContentUris.withAppendedId(People.CONTENT_URI, id);
                // Find the People._ID for this phone number
                final long personId = c.getLong(PHONES_PERSON_ID_INDEX);
                Uri personUri = ContentUris.withAppendedId(People.CONTENT_URI, personId);
                intent.putExtra(Intent.EXTRA_SHORTCUT_ICON,
                        generatePhoneNumberIcon(personUri, type, resid));