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

Commit 32acc3e3 authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

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

parents 41751064 baad2366
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) {