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

Commit 98609ec4 authored by Jay Shrauner's avatar Jay Shrauner
Browse files

Fix IllegalState in ContactSelectionActivity

Handle ContactsRequest.ACTION_DEFAULT as a ContactsRequest.ACTION_PICK_CONTACT
action in ContactSelectionActivity.configureListFragment instead of crashing.

Bug:12489968
Change-Id: I60e2ca8357b211216ff44a7ba297e183c7e9757a
parent afcdbbde
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -317,6 +317,7 @@ public class ContactSelectionActivity extends ContactsActivity
                break;
            }

            case ContactsRequest.ACTION_DEFAULT:
            case ContactsRequest.ACTION_PICK_CONTACT: {
                ContactPickerFragment fragment = new ContactPickerFragment();
                fragment.setIncludeProfile(mRequest.shouldIncludeProfile());