commit | df7714ef1d85784b608e576160267d79fe3e8d97 | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Fri Oct 14 10:46:37 2016 -0400 |
committer | gitbuildkicker <android-build@google.com> | Thu Oct 27 11:46:25 2016 -0700 |
tree | 52d923fa921463c3b1d91f2f7f1b7840687f5ce6 | |
parent | 4da760477a83987f20b0cf0eeed6df6797ef4f71 [diff] |
Fix launching alarm pending intent Launch it as a pending intent. Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350 Fixes: 23909438 (cherry picked from commit d0408f0028ea2572c71fda20f96fd64facdb0341)
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); } }