commit | d0408f0028ea2572c71fda20f96fd64facdb0341 | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Fri Oct 14 10:46:37 2016 -0400 |
committer | Jason Monk <jmonk@google.com> | Fri Oct 14 15:34:26 2016 +0000 |
tree | 4e6337a5f0909917ad3700e5eec05bec68a1a3df | |
parent | 3069b72d76da072d499d70ae370a6491e4069474 [diff] |
Fix launching alarm pending intent Launch it as a pending intent. Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350 Fixes: 23909438
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java index 2de8329..01f3185 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java
@@ -371,9 +371,7 @@ } } else if (v == mAlarmStatus && mNextAlarm != null) { PendingIntent showIntent = mNextAlarm.getShowIntent(); - if (showIntent != null && showIntent.isActivity()) { - mActivityStarter.startActivity(showIntent.getIntent(), true /* dismissShade */); - } + mActivityStarter.startPendingIntentDismissingKeyguard(showIntent); } }