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

Commit e7dcdc76 authored by Katherine Kuan's avatar Katherine Kuan Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in ConfirmAddDetailActivity"

parents 323dd9c6 e491b1f5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -714,6 +714,10 @@ public class ConfirmAddDetailActivity extends Activity implements

            EntityDeltaList state = params[0];

            if (state == null) {
                return RESULT_FAILURE;
            }

            // Trim any empty fields, and RawContacts, before persisting
            EntityModifier.trimEmpty(state, mAccountTypeManager);