Update avatar in contact list when changed while list is open

This commit is contained in:
Sebastian Kürten
2020-12-08 18:29:20 +01:00
committed by Torsten Grote
parent bf9ba13b68
commit 6660625ba6
6 changed files with 31 additions and 23 deletions

View File

@@ -29,4 +29,12 @@ public class NullSafety {
public static void requireNull(@Nullable Object o) {
if (o != null) throw new AssertionError();
}
/**
* Stand-in for {@code Objects.equals()}.
*/
public static boolean equals(@Nullable Object a, @Nullable Object b) {
return (a == b) || (a != null && a.equals(b));
}
}