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

Commit dccdf95e authored by Yorke Lee's avatar Yorke Lee
Browse files

Protect against ActivityNotFoundException

Bug: 18247185
Change-Id: I744355ea712f713d5510fa26f141ee2cce7491ff
parent bd421b68
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1071,7 +1071,8 @@ public class CallLogAdapter extends GroupingListAdapter
                    public void onClick(View v) {
                        final Intent intent =
                                DialtactsActivity.getAddNumberToContactIntent(details.number);
                        mContext.startActivity(intent);
                        DialerUtils.startActivityWithErrorToast(mContext, intent,
                                R.string.add_contact_not_available);
                    }
                });
                mBadgeImageView.setImageResource(R.drawable.ic_person_add_24dp);