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

Commit f963e0d5 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

am: de384db1

Change-Id: Ie796320c0dad775a19fd16e8ccebc1685cf72533
parents 04fa9d98 de384db1
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) {