Last round of addressing review issues

This commit is contained in:
Torsten Grote
2016-10-19 14:38:11 -02:00
parent 8f882dc910
commit 5a0fa5dcc7
5 changed files with 14 additions and 11 deletions

View File

@@ -19,6 +19,7 @@ import org.briarproject.api.privategroup.GroupMessageHeader;
import org.briarproject.api.privategroup.PrivateGroup;
import org.briarproject.api.privategroup.PrivateGroupManager;
import org.briarproject.api.sync.MessageId;
import org.briarproject.api.system.Clock;
import java.util.Collection;
import java.util.concurrent.Executor;
@@ -40,9 +41,9 @@ public class GroupControllerImpl
LifecycleManager lifecycleManager, IdentityManager identityManager,
@CryptoExecutor Executor cryptoExecutor,
PrivateGroupManager privateGroupManager, EventBus eventBus,
AndroidNotificationManager notificationManager) {
AndroidNotificationManager notificationManager, Clock clock) {
super(dbExecutor, lifecycleManager, identityManager, cryptoExecutor,
eventBus, notificationManager);
eventBus, notificationManager, clock);
this.privateGroupManager = privateGroupManager;
}

View File

@@ -52,8 +52,6 @@ class GroupViewHolder extends RecyclerView.ViewHolder {
void bindView(final Context ctx, final GroupItem group,
@NotNull final OnGroupRemoveClickListener listener) {
if (group == null) return;
// Avatar
avatar.setText(group.getName().substring(0, 1));
avatar.setBackgroundBytes(group.getId().getBytes());