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

Commit 327acc7a authored by Roman Birg's avatar Roman Birg
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>
parent e47b2f51
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -568,7 +568,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);