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

Commit 1c07d4bf authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Fix NPE in GroupEditorFragment name checks

- We need a valid group name when we save the editor, so
we read the group name text view before saving. However
this is throwing a NPE because now the group name text view
is not retrieved until we've selected an account (new group
creation) or loaded the account (existing groups) and
determined which layout we're inflating.

- So there's a period of time where it's possible the
group name text view variable is null, so verify
it's not null before checking if the name string is valid.
If the text view is null, then we'll abort the save group
procedure early.

Bug: 5090543
Bug: 5091206

Change-Id: I1d768ad3b0c1f11a56de5c7f9c476b5176e5c3ed
parent 93c52a57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment