Merge "Add notification category for recommendations."
This commit is contained in:
committed by
Android (Google) Code Review
commit
9ae0c8ffba
@ -4210,6 +4210,7 @@ package android.app {
|
||||
field public static final java.lang.String CATEGORY_MESSAGE = "msg";
|
||||
field public static final java.lang.String CATEGORY_PROGRESS = "progress";
|
||||
field public static final java.lang.String CATEGORY_PROMO = "promo";
|
||||
field public static final java.lang.String CATEGORY_RECOMMENDATION = "recommendation";
|
||||
field public static final java.lang.String CATEGORY_SERVICE = "service";
|
||||
field public static final java.lang.String CATEGORY_SOCIAL = "social";
|
||||
field public static final java.lang.String CATEGORY_STATUS = "status";
|
||||
|
@ -503,6 +503,13 @@ public class Notification implements Parcelable
|
||||
*/
|
||||
public static final String CATEGORY_SERVICE = "service";
|
||||
|
||||
/**
|
||||
* Notification category: a specific, timely recommendation for a single thing.
|
||||
* For example, a news app might want to recommend a news story it believes the user will
|
||||
* want to read next.
|
||||
*/
|
||||
public static final String CATEGORY_RECOMMENDATION = "recommendation";
|
||||
|
||||
/**
|
||||
* Notification category: ongoing information about device or contextual status.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user