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

Commit 36da3e79 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa
Browse files

Defer phone search fragment

Bug: 5534082
Change-Id: I2f604c63af8221c363a0ea8425d57f41e3a99c75
parent b836c6ad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -509,6 +509,7 @@ public class DialtactsActivity extends Activity {
            mSearchFragment.setQuickContactEnabled(true);
            mSearchFragment.setDarkTheme(true);
            mSearchFragment.setPhotoPosition(ContactListItemView.PhotoPosition.LEFT);
            mSearchFragment.setStartDeferred(true);
            final FragmentTransaction transaction = getFragmentManager().beginTransaction();
            if (mInSearchUi) {
                transaction.show(mSearchFragment);
@@ -842,6 +843,7 @@ public class DialtactsActivity extends Activity {
        // layout instead of asking the search menu item to take care of SearchView.
        mSearchView.onActionViewExpanded();
        mInSearchUi = true;
        mSearchFragment.setStartDeferred(false);
    }

    private void showInputMethod(View view) {