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

Commit 288532cd authored by Yorke Lee's avatar Yorke Lee
Browse files

Fix BadTokenException in ContactEditorFragment

Bug: 7162486
Change-Id: I3b8fcf6cf2fd3f11368b5af643a9b69ce0890e84
parent 03eaa114
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1395,7 +1395,9 @@ public class ContactEditorFragment extends Fragment implements

    @Override
    public void onAggregationSuggestionChange() {
        if (!isAdded() || mState == null || mStatus != Status.EDITING) {
        Activity activity = getActivity();
        if ((activity != null && activity.isFinishing())
                || !isVisible() || mState == null || mStatus != Status.EDITING) {
            return;
        }