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

Commit 22c3d414 authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Fix duplicated DataKinds for external account types"

parents c064de7e e099fbf7
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -121,11 +121,13 @@ public class ExternalAccountType extends BaseAccountType {
        iconRes = resolveExternalResId(context, mAccountTypeIconAttribute,
                this.resPackageName, ATTR_ACCOUNT_ICON);

        if (!mHasEditSchema) {
            // Bring in name and photo from fallback source, which are non-optional
            addDataKindStructuredName(context);
            addDataKindDisplayName(context);
            addDataKindPhoneticName(context);
            addDataKindPhoto(context);
        }

        // If we reach this point, the account type has been successfully initialized.
        mInitSuccessful = true;