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

Commit b3ab4443 authored by Fabian Kozynski's avatar Fabian Kozynski Committed by android-build-merger
Browse files

Merge "Makes current user not clickable" into qt-qpr1-dev

am: 32acc3e3

Change-Id: I24f9343a0485af0ce6f1cc25988dd40b80a4a71e
parents efd0057e 32acc3e3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -76,8 +76,11 @@ public class UserDetailView extends PseudoGridView {
                UserSwitcherController.UserRecord item) {
            UserDetailItemView v = UserDetailItemView.convertOrInflate(
                    mContext, convertView, parent);
            if (v != convertView) {
            if ((v != convertView && !item.isCurrent) || item.isGuest) {
                v.setOnClickListener(this);
            } else {
                v.setOnClickListener(null);
                v.setClickable(false);
            }
            String name = getName(mContext, item);
            if (item.picture == null) {