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

Commit 2585921d authored by Dmitri Plotnikov's avatar Dmitri Plotnikov Committed by Android (Google) Code Review
Browse files

Merge "Fixing search in direct dial/message shortcut creation" into froyo

parents 6ea750cf 564f3c6d
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -648,10 +648,12 @@ public class ContactsListActivity extends ListActivity implements View.OnCreateC
            if (component.equals("alias.DialShortcut")) {
            if (component.equals("alias.DialShortcut")) {
                mMode = MODE_PICK_PHONE;
                mMode = MODE_PICK_PHONE;
                mShortcutAction = Intent.ACTION_CALL;
                mShortcutAction = Intent.ACTION_CALL;
                mShowSearchSnippets = false;
                setTitle(R.string.callShortcutActivityTitle);
                setTitle(R.string.callShortcutActivityTitle);
            } else if (component.equals("alias.MessageShortcut")) {
            } else if (component.equals("alias.MessageShortcut")) {
                mMode = MODE_PICK_PHONE;
                mMode = MODE_PICK_PHONE;
                mShortcutAction = Intent.ACTION_SENDTO;
                mShortcutAction = Intent.ACTION_SENDTO;
                mShowSearchSnippets = false;
                setTitle(R.string.messageShortcutActivityTitle);
                setTitle(R.string.messageShortcutActivityTitle);
            } else if (mSearchMode) {
            } else if (mSearchMode) {
                mMode = MODE_PICK_CONTACT;
                mMode = MODE_PICK_CONTACT;