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

Commit 8a5e829e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Disable overflow menu on lock screen." into rvc-dev am: 126b567a am:...

Merge "Disable overflow menu on lock screen." into rvc-dev am: 126b567a am: 14f6692f am: 4a785e22

Change-Id: Icd5f6f4f6afab3809c05100e39d784b775f33a88
parents 0b5967df 4a785e22
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -482,7 +482,8 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
     */
    @VisibleForTesting
    protected int getMaxShownPowerItems() {
        if (shouldUseControlsLayout()) {
        // TODO: Overflow disabled on keyguard while we solve for touch blocking issues.
        if (shouldUseControlsLayout() && !mKeyguardShowing) {
            return mResources.getInteger(com.android.systemui.R.integer.power_menu_max_columns);
        } else {
            return Integer.MAX_VALUE;