commit | af53690d73f46e2966600a4c78c566a8e6ce76eb | [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 15:19:28 2016 -0700 |
tree | 1b0bdc4590c75a2d14a4f71bf5cddd980e143de5 | |
parent | aaa09aa46174d751817d800116420c7c1cbf9a95 [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); } }