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

Commit d0408f00 authored by Jason Monk's avatar Jason Monk
Browse files

Fix launching alarm pending intent

Launch it as a pending intent.

Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350
Fixes: 23909438
parent 3069b72d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -371,9 +371,7 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
            }
        } else if (v == mAlarmStatus && mNextAlarm != null) {
            PendingIntent showIntent = mNextAlarm.getShowIntent();
            if (showIntent != null && showIntent.isActivity()) {
                mActivityStarter.startActivity(showIntent.getIntent(), true /* dismissShade */);
            }
            mActivityStarter.startPendingIntentDismissingKeyguard(showIntent);
        }
    }