Fix launching alarm pending intent
Launch it as a pending intent. Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350 Fixes: 23909438
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user