summaryrefslogtreecommitdiff
path: root/tests/StatusBar
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2017-10-10 13:58:49 -0400
committerJulia Reynolds <juliacr@google.com>2017-10-10 15:10:39 -0400
commit9418756a11162efd78cb0a6fc87873ee15252bff (patch)
tree849ea1a6261124d3d2be484e3ff3493640726800 /tests/StatusBar
parent33238f213fd7d7f748080385bc0952e2345bd6f9 (diff)
Send a11y updates for updated notifications
Unless the updated notification is quiet. Test: runtest systemui-notification Change-Id: I0d0b27cedf085c00648d00ed63f252f94d8e5e35 Fixes: 67626983
Diffstat (limited to 'tests/StatusBar')
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
index 82104034ca6e..163250d9d666 100644
--- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
+++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
@@ -296,6 +296,7 @@ public class NotificationTestList extends TestActivity
Notification n = new Notification.Builder(NotificationTestList.this, "min")
.setSmallIcon(R.drawable.icon2)
.setContentTitle("Min priority")
+ .setTicker("Min priority")
.build();
mNM.notify("min", 7000, n);
}
@@ -306,6 +307,7 @@ public class NotificationTestList extends TestActivity
Notification n = new Notification.Builder(NotificationTestList.this, "low")
.setSmallIcon(R.drawable.icon2)
.setContentTitle("Low priority")
+ .setTicker("Low priority")
.build();
mNM.notify("low", 7002, n);
}
@@ -326,6 +328,7 @@ public class NotificationTestList extends TestActivity
Notification n = new Notification.Builder(NotificationTestList.this, "high")
.setSmallIcon(R.drawable.icon2)
.setContentTitle("High priority")
+ .setTicker("High priority")
.build();
mNM.notify("high", 7006, n);
}