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

Commit 483dbfb9 authored by Roman Birg's avatar Roman Birg Committed by Danesh M
Browse files

SystemUI: fix double tap power launching custom lockscreen icon



Ticket: RM-232

Change-Id: I2ddf9fce55e9deb9cdf70416f0ed2ee5ce6ce225
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
(cherry picked from commit 327acc7a)
parent 6a1e0193
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -569,7 +569,8 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL

    public void launchCamera(String source) {
        final Intent intent;
        if (!mShortcutHelper.isTargetCustom(LockscreenShortcutsHelper.Shortcuts.RIGHT_SHORTCUT)) {
        if (source.equals(CAMERA_LAUNCH_SOURCE_POWER_DOUBLE_TAP) || !mShortcutHelper
                .isTargetCustom(LockscreenShortcutsHelper.Shortcuts.RIGHT_SHORTCUT)) {
            intent = getCameraIntent();
        } else {
            intent = mShortcutHelper.getIntent(LockscreenShortcutsHelper.Shortcuts.RIGHT_SHORTCUT);