AccountManager: Remove incorrect call to setFullName

The merge done in change I356cf6e80 erroneously introduced a call
to setFullName that had been removed in Icc284542d.

Change-Id: I1c07d66e497e2763757a72940352eaea9c1d28fd
This commit is contained in:
David Pursehouse
2019-10-25 13:24:46 +09:00
parent 996639a9af
commit f504e927f4

View File

@@ -236,7 +236,6 @@ public class AccountManager {
if (!Strings.isNullOrEmpty(who.getDisplayName())
&& !Objects.equals(user.getAccount().getFullName(), who.getDisplayName())) {
accountUpdates.add(u -> u.setFullName(who.getDisplayName()));
if (realm.allowsEdit(AccountFieldName.FULL_NAME)) {
accountUpdates.add(a -> a.setFullName(who.getDisplayName()));
} else {