diff options
author | Julia Reynolds <juliacr@google.com> | 2015-12-07 08:23:48 -0500 |
---|---|---|
committer | Julia Reynolds <juliacr@google.com> | 2015-12-11 14:57:47 -0500 |
commit | ead00aac154f76abfc9739d76b100597b3e42d96 (patch) | |
tree | 675e4818b1c0ed226e97210ffdad4df1cdfe3a01 /tests | |
parent | 752b070e327f3a7a1538c702566a251636dc806d (diff) |
Add importance to notification guts.
Note: the guts are still trucated to the height of the notification.
The slider initially shows the importance of the individual notification,
but changing the slider changes the importance for the whole group
of notifications.
Bug: 22451710
Change-Id: Id6de3aaace2bdb88a8cc5db517002dc7f0e349ae
Diffstat (limited to 'tests')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java | 3 |
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 8eb30d23b206..cf1a4aa97c6d 100644 --- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java +++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java @@ -162,8 +162,11 @@ public class NotificationTestList extends TestActivity new Test("with topic Hello") { public void run() { + Notification.BigTextStyle bigText = new Notification.BigTextStyle(); + bigText.bigText("FgBHreherhethethethe\ntwetwrterter\netetweterteryetry"); Notification n = new Notification.Builder(NotificationTestList.this) .setSmallIcon(R.drawable.icon1) + .setStyle(bigText) .setWhen(mActivityCreateTime) .setContentTitle("hihi") .setContentText("This is a notification!!!") |