CodePudding user response:
Is handled through the Notification itself, when create Notification Settings setCategory (Notification. CATEGORY_CALL),CodePudding user response:
Alarm and call full-screen interface here are all through the following path to trigger a full screen interfaceNotificationEntryManager. Java
Private void addNotificationInternal (StatusBarNotification notification,
NotificationListenerService. RankingMap ranking) throws InflationException {
The String key=notification. GetKey ();
.
Try {
EventLog. WriteEvent (EventLogTags SYSUI_FULLSCREEN_NOTIFICATION,
Key);
//by sending the call or alarm inform pendingintent send to notify the caller or alarm clock module display full screen interface, so
Notification. GetNotification (). FullScreenIntent. The send ();
ShadeEntry. NotifyFullScreenIntentLaunched ();
MMetricsLogger. Count (" note_fullscreen ", 1);
} the catch (PendingIntent CanceledException e) {
}
, more relevant SystemUI article, can see my blog, send person rose, the hand leaves lingering fragrance,