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

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

Fix bug in FAB action

If in contact search, always show the dialpad if the FAB is
clicked.

Bug: 22751856
Change-Id: I069064489664a1f9c3749b34e8b333f878bbf04b
parent 3f468007
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -608,7 +608,8 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.floating_action_button:
                if (mListsFragment.getCurrentTabIndex() == ListsFragment.TAB_INDEX_ALL_CONTACTS) {
                if (mListsFragment.getCurrentTabIndex()
                        == ListsFragment.TAB_INDEX_ALL_CONTACTS && !mInRegularSearch) {
                    DialerUtils.startActivityWithErrorToast(
                            this,
                            IntentUtil.getNewContactIntent(),