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

Commit 6f423188 authored by Danesh Mondegarian's avatar Danesh Mondegarian Committed by Robert Burns
Browse files

AlarmClock : Lockscreen Fix

http://code.google.com/p/cyanogenmod/issues/detail?id=3164

Issue : The dismiss dialog would unlock the lockscreen.
Resolution : Remove FLAG_DISMISS_KEYGUARD flag.

Change-Id: I9920376a2f8195b80f2907052dbfe353c4cb54a7
parent 9ecb98e6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -86,8 +86,7 @@ public class AlarmAlertFullScreen extends Activity {
        mVolumeBehavior = Integer.parseInt(vol);

        final Window win = getWindow();
        win.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
                | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
        win.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
        // Turn on the screen unless we are being launched from the AlarmAlert
        // subclass as a result of the screen turning off.
        if (!getIntent().getBooleanExtra(SCREEN_OFF, false)) {