summaryrefslogtreecommitdiff
path: root/core/java/android/app/NotificationChannel.java
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2016-10-14 10:59:01 -0400
committerJulia Reynolds <juliacr@google.com>2016-10-19 22:30:58 +0000
commit8f488d3f2f754bc6e8f4e87f40031a3f6a0b00db (patch)
tree64a81c626b46316c03f2e36224ba5af1cc2ae54c /core/java/android/app/NotificationChannel.java
parent219cadc314f20c9c0ac5901980631d13253eec3c (diff)
Move autogrouping into framework.
Test: runtest systemui, and post and dismiss notifications, checking that they are grouped (or not) appropriately. Change-Id: I8f3ec497cebcb14a7853fac98b844a3fd4503141
Diffstat (limited to 'core/java/android/app/NotificationChannel.java')
-rw-r--r--core/java/android/app/NotificationChannel.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/app/NotificationChannel.java b/core/java/android/app/NotificationChannel.java
index 530b8bb7f3eb..415017281136 100644
--- a/core/java/android/app/NotificationChannel.java
+++ b/core/java/android/app/NotificationChannel.java
@@ -134,11 +134,11 @@ public final class NotificationChannel implements Parcelable {
this.mLockscreenVisibility = lockscreenVisibility;
}
- // Modifiable by apps.
+ // Modifiable by apps on channel creation.
/**
* Sets the ringtone that should be played for notifications posted to this channel if
- * the notifications don't supply a ringtone.
+ * the notifications don't supply a ringtone. Only modifiable on channel creation.
*/
public void setDefaultRingtone(Uri defaultRingtone) {
this.mRingtone = defaultRingtone;
@@ -146,7 +146,7 @@ public final class NotificationChannel implements Parcelable {
/**
* Sets whether notifications posted to this channel should display notification lights,
- * on devices that support that feature.
+ * on devices that support that feature. Only modifiable on channel creation.
*/
public void setLights(boolean lights) {
this.mLights = lights;
@@ -154,7 +154,7 @@ public final class NotificationChannel implements Parcelable {
/**
* Sets whether notification posted to this channel should vibrate, even if individual
- * notifications are marked as having vibration.
+ * notifications are marked as having vibration only modifiable on channel creation.
*/
public void setVibration(boolean vibration) {
this.mVibration = vibration;