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:
@@ -236,7 +236,6 @@ public class AccountManager {
|
|||||||
|
|
||||||
if (!Strings.isNullOrEmpty(who.getDisplayName())
|
if (!Strings.isNullOrEmpty(who.getDisplayName())
|
||||||
&& !Objects.equals(user.getAccount().getFullName(), who.getDisplayName())) {
|
&& !Objects.equals(user.getAccount().getFullName(), who.getDisplayName())) {
|
||||||
accountUpdates.add(u -> u.setFullName(who.getDisplayName()));
|
|
||||||
if (realm.allowsEdit(AccountFieldName.FULL_NAME)) {
|
if (realm.allowsEdit(AccountFieldName.FULL_NAME)) {
|
||||||
accountUpdates.add(a -> a.setFullName(who.getDisplayName()));
|
accountUpdates.add(a -> a.setFullName(who.getDisplayName()));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user