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

Commit c861a986 authored by Gary Mai's avatar Gary Mai Committed by Android (Google) Code Review
Browse files

Merge "Always write current state in EditorFragment" into ub-contactsdialer-h-dev

parents be40aed0 36ceb423
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -615,10 +615,7 @@ public class ContactEditorFragment extends Fragment implements
                Lists.<RawContact>newArrayList() : Lists.newArrayList(mRawContacts));
        // NOTE: mGroupMetaData is not saved

        if (hasValidState()) {
            // Store entities with modifications
        outState.putParcelable(KEY_EDIT_STATE, mState);
        }
        outState.putInt(KEY_STATUS, mStatus);
        outState.putBoolean(KEY_HAS_NEW_CONTACT, mHasNewContact);
        outState.putBoolean(KEY_NEW_CONTACT_READY, mNewContactDataReady);