summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2025-02-05 10:18:41 -0800
committer Julia Reynolds <juliacr@google.com> 2025-02-05 10:18:41 -0800
commite662da4f3dd5c445851316eb846dcc0889c7363e (patch)
treeedccc937fe7e5b708ecdd995ec30371deb1f78d3
parent5555f7c85b1867d523cb41d5cdbe6c5be290f985 (diff)
Fix javadoc for KEY_SUMMARIZATION
Change-Id: I437a61672fcf83d6f55d56c0ae594f4bf873ebca Test: build Flag: android.app.nm_summarization Bug: 390417189
-rw-r--r--core/java/android/service/notification/Adjustment.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/service/notification/Adjustment.java b/core/java/android/service/notification/Adjustment.java
index 1f1427df3925..505db30ca719 100644
--- a/core/java/android/service/notification/Adjustment.java
+++ b/core/java/android/service/notification/Adjustment.java
@@ -225,9 +225,9 @@ public final class Adjustment implements Parcelable {
public static final int TYPE_CONTENT_RECOMMENDATION = 4;
/**
- * Data type: String, the classification type of this notification. The OS may display
- * notifications differently depending on the type, and may change the alerting level of the
- * notification.
+ * Data type: String, a summarization of the text of the notification, or, if provided for
+ * a group summary, a summarization of the text of all of the notificatrions in the group.
+ * Send this key with a null value to remove an existing summarization.
*/
@FlaggedApi(android.app.Flags.FLAG_NM_SUMMARIZATION)
public static final String KEY_SUMMARIZATION = "key_summarization";