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

Commit f6d95ca5 authored by Matt Pietal's avatar Matt Pietal
Browse files

Controls UI - Only show controls after device is setup

Do not show while not provisioned

Fixes: 155949345
Test: manual
Change-Id: Ia63ed84a5d690b31e6153e5b897fca04110cfdd0
parent f3b5ba7a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2379,7 +2379,8 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
                || mKeyguardStateController.canDismissLockScreen();
        return (isUnlocked || mShowLockScreenCardsAndControls)
                && mControlsUiController.getAvailable()
                && !mControlsServiceInfos.isEmpty();
                && !mControlsServiceInfos.isEmpty()
                && mDeviceProvisioned;
    }
    // TODO: Remove legacy layout XML and classes.
    protected boolean shouldUseControlsLayout() {