summaryrefslogtreecommitdiff
path: root/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java
AgeCommit message (Collapse)Author
2021-01-12Bulk apply PendingIntent.FLAG_MUTABLE_UNAUDITED.Ashwini Oruganti
We've been working hard to require PendingIntents explicitly declare if they allow their contents to be mutated or not, and to finish landing that work this change applies the new FLAG_MUTABLE_UNAUDITED flag to all remaining code locations until they can be manually inspected. Bug: 160794467 Test: manual Change-Id: I8d7ec64ac89755c14b5959bb6ef0bce203c92bf0
2013-04-09Fix [-] buttons in the notification builder test.Daniel Sandler
(Broken by change I9fae5a4a). Bug: 8564511 Change-Id: I0d5b65e6678018630c812c5616e9b3f068029e66
2013-04-08Add tag "foo" to builder test's notifications.Daniel Sandler
This allows them to be conveniently cleared via adb: $ adb shell service call notification 5 \ s16 com.android.statusbartest \ s16 foo \ i32 <NOTIFICATIONID> \ i32 <USERID> Bug: 8564511 Change-Id: I9fae5a4a0be64d6707cc06ca938adeb8b3c0b735
2012-11-14Clean up the Builder test.Daniel Sandler
Improved vibration coverage Fixed LED color Added priority Added a start delay (for testing LED while screen off) Change-Id: I3dab0a1a7494f0fe7631d1af49c0fb9a1fdd3f63
2012-10-19Properly show emoji in the notification ticker.Daniel Sandler
Add an emoji test to StatusBarTest (working around some difficulties in actually putting high-Unicode chars in the layout xml). Bug: 7378383 Change-Id: Ifce9844b26f67d2799521623e5161aa4dad69ed1
2011-12-07Improve handling of small largeIcons in tablet ticker.Daniel Sandler
The tablet system bar is too short for a full notification row, but it will show the largeIcon of a new notification in its full frame, intruding into the main application content rectangle a bit. This is a good thing---the notifications really pop out at you---but it looks a little odd if the largeIcon is actually *small*: the icon is vertically centered in the larger (invisible) rectangle, making it look poorly centered on the system bar. This change will detect short largeIcons and center them in the system bar's height instead. Additionally, it applies the same ticker background all the way to the left underneath largeIcons that are not full-frame (and therefore have transparent regions). Bug: 5708907 Bug: 5560485 Change-Id: I32af45632df164c58fb960110063dbaa08b5536c
2011-01-15Need to update the largeIcon for notifications when we're reapplying the views.Joe Onorato
Bug: 3298062 Change-Id: I6bb72c0b93e00a9de8cc2633ac07add0a572a20f
2010-11-22Add a better notification test and clean up the flag handling in the ↵Joe Onorato
notification builder. Change-Id: I9354ed2c2cda690f53e5f43ad60943b63b02e7d4
2010-11-21The large icon for notifications.Joe Onorato
Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
2010-11-21Test for using the right size of notification info text.Joe Onorato
Change-Id: Iac8764542ddcd3ef0375f6d6d03225e9f6c2fc1c
2010-11-21Show the number in the expanded notification instead of in the bar.Joe Onorato
Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
2010-11-21Update the look of the notifications. Includes adding a new ↵Joe Onorato
Notification.Builder class. Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03