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

Commit a730d9dc authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Flip mFromOnNewIntent to false after configuring fragment

- We need to change it to false so that it doesn't stay true forever.

Bug: 30944495
Bug: 31575582

Test: manual
  - step 1: open Contacts app, press Home button and re-open it
  - step 2: search for any contact and press on a search result to open
            QuickContact
  - step 3: close QuickContact and observe: contacts list shouldn't
            quit search mode

Change-Id: Ieb9f0dcd6d303103b5f6e357d123d1ffa47494a8
parent 9300be76
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -539,6 +539,7 @@ public class DefaultContactBrowseListFragment extends ContactBrowseListFragment
        mFragmentInitialized = true;

        if (mFromOnNewIntent || !mIsRecreatedInstance) {
            mFromOnNewIntent = false;
            configureFragmentForRequest();
        }