Fix launching alarm pending intent
am: d0408f0028
Change-Id: I01f3963617638bf8c1cb8efccf027dd8a9084517
This commit is contained in:
@@ -343,9 +343,7 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
|
|||||||
}
|
}
|
||||||
} else if (v == mAlarmStatus && mNextAlarm != null) {
|
} else if (v == mAlarmStatus && mNextAlarm != null) {
|
||||||
PendingIntent showIntent = mNextAlarm.getShowIntent();
|
PendingIntent showIntent = mNextAlarm.getShowIntent();
|
||||||
if (showIntent != null && showIntent.isActivity()) {
|
mActivityStarter.startPendingIntentDismissingKeyguard(showIntent);
|
||||||
mActivityStarter.startActivity(showIntent.getIntent(), true /* dismissShade */);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user