Notifications in Android 5.0 are more visible, accessible, and configurable.
Varying notification details may appear on the lock screen if desired by the user. Users may elect to allow none, some, or all notification content to be shown on a secure lock screen.
Key notification alerts such as incoming calls appear in aheads-up notification—a small floating window that allows the user to respond or dismiss without leaving the current app.
You can now add new metadata to notifications to collect associated contacts (for ranking), category, and priority.
A new media notification template provides consistent media controls for notifications with up to 6 action buttons, including custom controls such as “thumbs up”—no more need for RemoteViews!