Fix launching alarm pending intent am: d0408f0028 am: 9042736ff1 am: 6aa197116e

am: 2abab0248f

Change-Id: Ife7911f26ebcf96802e2a9ac3f2f179d0d486d2c
This commit is contained in:
Jason Monk
2016-10-14 19:07:48 +00:00
committed by android-build-merger

View File

@@ -343,9 +343,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);
}
}