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

Commit e675a5df authored by Roman Birg's avatar Roman Birg
Browse files

Contacts: fix clicking on contact list item action with multi sim



Seems the multi sim part was never implemented for this - the logic is
now handled primarily in the dialer so we can just pass the intent along
and let the dialer handle the multi sim if necessary.

Change-Id: Id2593d7461718935b6773fde798394134d4a7342
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 37ff2832
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -1718,14 +1718,8 @@ public class ContactDetailFragment extends Fragment implements FragmentKeyListen
                v = mInflater.inflate(R.layout.contact_detail_list_item, parent, false);

                // Cache the children
                if (MSimTelephonyManager.getDefault().isMultiSimEnabled()
                        && Phone.CONTENT_ITEM_TYPE.equals(entry.mimetype)) {
                    viewCache = new DetailViewCache(v, null, mSecondaryActionClickListener,
                            mThirdActionClickListener);
                } else {
                viewCache = new DetailViewCache(v, mPrimaryActionClickListener,
                        mSecondaryActionClickListener, mThirdActionClickListener);
                }
                v.setTag(viewCache);
            }