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

Commit 27d005f3 authored by Danesh Mondegarian's avatar Danesh Mondegarian
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 9380d1e8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -94,8 +94,7 @@ public class AlarmAlertFullScreen extends Activity {
        requestWindowFeature(android.view.Window.FEATURE_NO_TITLE);

        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.
        if (!getIntent().getBooleanExtra(SCREEN_OFF, false)) {