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

Unverified Commit f423f8ba authored by Michael Bestas's avatar Michael Bestas
Browse files

fixup! SystemUI: advanced reboot: set maxElementsWrap

Change-Id: I3a036fc925d435298c7ccdc66d83076c2511e747
parent 41acd95c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ public class GlobalActionsPowerDialog {
        Resources res = context.getResources();

        int nElementsWrap = res.getInteger(
                com.android.systemui.R.integer.power_menu_lite_max_columns);
                com.android.systemui.res.R.integer.power_menu_lite_max_columns);
        int nChildren = listView.getChildCount() - 1; // don't count flow element

        // Avoid having just one action on the last row if there are more than 2 columns because