summaryrefslogtreecommitdiffstats
path: root/core/java/android/app
diff options
context:
space:
mode:
authorJose Lima <joselima@google.com>2015-04-22 13:07:43 -0700
committerJose Lima <joselima@google.com>2015-04-22 13:08:45 -0700
commit7e0f2ac42574b524d7b06afaf9221bde5d0af228 (patch)
tree3cc6bd2d2bcc28ac18cbcbf25f26d38da1b2429c /core/java/android/app
parentf7de58130a6a38d62857f6b885986f6a5cc74fcb (diff)
downloadframeworks_base-7e0f2ac42574b524d7b06afaf9221bde5d0af228.zip
frameworks_base-7e0f2ac42574b524d7b06afaf9221bde5d0af228.tar.gz
frameworks_base-7e0f2ac42574b524d7b06afaf9221bde5d0af228.tar.bz2
Add pre-order as a pricing type for ContentInfoExtender
Change-Id: I137d038c82342869dd104b178f1b11ba02fed07c
Diffstat (limited to 'core/java/android/app')
-rw-r--r--core/java/android/app/Notification.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index e7f8f6d..2cf23af 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -5648,6 +5648,13 @@ public class Notification implements Parcelable
/**
* Value to be used with {@link #setPricingInformation} to indicate that the content
+ * referred by the notification item is available currently as a pre-order, and the price
+ * value provided is the purchase price for the item.
+ */
+ public static final String CONTENT_PRICING_PREORDER = "android.contentPrice.preorder";
+
+ /**
+ * Value to be used with {@link #setPricingInformation} to indicate that the content
* referred by the notification item is available as part of a subscription based service,
* and the price value provided is the subscription price for the service.
*/