High-priority notifications introduced in Android 5.0
Heads-up notifications were introduced in Android 5.0. These notifications are high-priority notifications and are presented to users for a short period of time with an expanded layout exposing possible actions.
After this period of time, the notification retreats to the notification shade. If a notification's priority is flagged as High, Max, or full-screen, it gets a heads-up notification.
Good examples of heads-up notifications:
- Incoming phone call when using a device
- Alarm when using a device
- New SMS message
- Low battery