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

Commit fecb17f4 authored by Dhina17's avatar Dhina17
Browse files

SystemUI: Use grid view for user switch in global actions

This looks better with more number of users.

Change-Id: I16227e297abda84ab192d1d9e9e480ac3dc142ce
parent 0abcf0db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1830,7 +1830,7 @@ public class GlobalActionsDialogLite implements DialogInterface.OnDismissListene
                Log.w(TAG, "No users action found at position: " + position);
                return null;
            }
            int viewLayoutResource = com.android.systemui.res.R.layout.global_actions_power_item;
            int viewLayoutResource = com.android.systemui.res.R.layout.global_actions_grid_item_lite;
            View view = convertView != null ? convertView
                    : LayoutInflater.from(mContext).inflate(viewLayoutResource, parent, false);
            view.setOnClickListener(v -> onClickItem(position));